From 55035b236b827b10f793470b8efed1c2608fd16e Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 19 Mar 2020 21:24:14 +0000 Subject: [PATCH] 4g: Install node_access table Ensure that the `node_access` table is created within the test. --- .../custom/my_module/tests/src/Kernel/ArticleRepositoryTest.php | 2 ++ 1 file changed, 2 insertions(+) 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 91e3fc5..ebfa195 100644 --- a/web/modules/custom/my_module/tests/src/Kernel/ArticleRepositoryTest.php +++ b/web/modules/custom/my_module/tests/src/Kernel/ArticleRepositoryTest.php @@ -21,6 +21,8 @@ class ArticleRepositoryTest extends EntityKernelTestBase { $this->installConfig([ 'filter', ]); + + $this->installSchema('node', ['node_access']); } /** @test */