diff --git a/tests/src/Kernel/EntityMatcherDeriverTest.php b/tests/src/Kernel/EntityMatcherDeriverTest.php index cf3832a..9f68f14 100644 --- a/tests/src/Kernel/EntityMatcherDeriverTest.php +++ b/tests/src/Kernel/EntityMatcherDeriverTest.php @@ -12,7 +12,7 @@ class EntityMatcherDeriverTest extends LinkitKernelTestBase { /** * {@inheritdoc} */ - public static $modules = ['block', 'block_content', 'node', 'field']; + public static $modules = ['block', 'block_content', 'node', 'path_alias', 'field']; /** * The matcher manager. @@ -31,6 +31,7 @@ class EntityMatcherDeriverTest extends LinkitKernelTestBase { $this->installEntitySchema('block_content'); $this->installEntitySchema('node'); + $this->installEntitySchema('path_alias'); $this->installConfig(['field', 'node']); $this->manager = $this->container->get('plugin.manager.linkit.matcher'); diff --git a/tests/src/Kernel/Matchers/NodeMatcherTest.php b/tests/src/Kernel/Matchers/NodeMatcherTest.php index dc9439c..f1408e6 100644 --- a/tests/src/Kernel/Matchers/NodeMatcherTest.php +++ b/tests/src/Kernel/Matchers/NodeMatcherTest.php @@ -22,6 +22,7 @@ class NodeMatcherTest extends LinkitKernelTestBase { public static $modules = [ 'field', 'node', + 'path_alias', 'content_moderation', 'workflows', 'language', @@ -42,7 +43,7 @@ class NodeMatcherTest extends LinkitKernelTestBase { $this->installEntitySchema('node'); $this->installSchema('node', ['node_access']); - $this->installConfig(['field', 'node', 'language']); + $this->installConfig(['field', 'node', 'language', 'path_alias']); $this->manager = $this->container->get('plugin.manager.linkit.matcher');