4i: Add page nodes too
This commit is contained in:
parent
1be8440519
commit
910af32309
|
@ -30,7 +30,9 @@ class ArticleRepositoryTest extends EntityKernelTestBase {
|
|||
/** @test */
|
||||
public function nodes_that_are_not_articles_are_not_returned() {
|
||||
$this->createNode(['type' => 'article'])->save();
|
||||
$this->createNode(['type' => 'page'])->save();
|
||||
$this->createNode(['type' => 'article'])->save();
|
||||
$this->createNode(['type' => 'page'])->save();
|
||||
$this->createNode(['type' => 'article'])->save();
|
||||
|
||||
$repository = $this->container->get(ArticleRepository::class);
|
||||
|
|
Loading…
Reference in a new issue