5e: Fix the kernel tests

This commit is contained in:
Oliver Davies 2020-11-14 10:07:55 +00:00
parent 8f8218260b
commit 655c854a80

View file

@ -23,7 +23,7 @@ class ArticleRepository {
$this->sortByCreatedDate($articles);
return array_map(function (NodeInterface $node): Post {
return new Post();
return new Post($node);
}, $articles);
}