Add an assertion for the bundle type

> Failed asserting that null is identical to 'post'.
This commit is contained in:
Oliver Davies 2024-01-20 09:16:59 +00:00
parent 89a6f933ec
commit 3bede8428f

View file

@ -15,6 +15,7 @@ final class PostWrapperTest extends UnitTestCase {
$node = $this->createMock(NodeInterface::class);
self::assertInstanceOf(NodeInterface::class, $node);
self::assertSame('post', $node->bundle());
}
}