Add an assertion for the bundle type
> Failed asserting that null is identical to 'post'.
This commit is contained in:
parent
89a6f933ec
commit
3bede8428f
|
@ -15,6 +15,7 @@ final class PostWrapperTest extends UnitTestCase {
|
|||
$node = $this->createMock(NodeInterface::class);
|
||||
|
||||
self::assertInstanceOf(NodeInterface::class, $node);
|
||||
self::assertSame('post', $node->bundle());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue