Fix the existing test

This commit is contained in:
Oliver Davies 2020-11-14 12:52:36 +00:00
parent 0c6fa6e60f
commit 0a1da40788

View file

@ -15,6 +15,7 @@ class PostTest extends UnitTestCase {
$node->expects($this->once())
->method('label')
->willReturn('Test post');
$node->method('bundle')->willReturn('article');
$post = new Post($node);