5e: Fix the kernel tests
This commit is contained in:
parent
8f8218260b
commit
655c854a80
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue