5e: Fix the kernel tests
This commit is contained in:
parent
8f8218260b
commit
655c854a80
|
@ -23,7 +23,7 @@ class ArticleRepository {
|
|||
$this->sortByCreatedDate($articles);
|
||||
|
||||
return array_map(function (NodeInterface $node): Post {
|
||||
return new Post();
|
||||
return new Post($node);
|
||||
}, $articles);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue