Fix the existing test
This commit is contained in:
parent
0c6fa6e60f
commit
0a1da40788
|
@ -15,6 +15,7 @@ class PostTest extends UnitTestCase {
|
||||||
$node->expects($this->once())
|
$node->expects($this->once())
|
||||||
->method('label')
|
->method('label')
|
||||||
->willReturn('Test post');
|
->willReturn('Test post');
|
||||||
|
$node->method('bundle')->willReturn('article');
|
||||||
|
|
||||||
$post = new Post($node);
|
$post = new Post($node);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue