diff --git a/web/modules/custom/my_module/tests/src/Kernel/ArticleRepositoryTest.php b/web/modules/custom/my_module/tests/src/Kernel/ArticleRepositoryTest.php index de9c7eb..3a5408d 100644 --- a/web/modules/custom/my_module/tests/src/Kernel/ArticleRepositoryTest.php +++ b/web/modules/custom/my_module/tests/src/Kernel/ArticleRepositoryTest.php @@ -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);