diff --git a/tests/src/Kernel/DataProducer/RoutingTest.php b/tests/src/Kernel/DataProducer/RoutingTest.php index 5c1f7461b..7c4e6ea66 100644 --- a/tests/src/Kernel/DataProducer/RoutingTest.php +++ b/tests/src/Kernel/DataProducer/RoutingTest.php @@ -35,6 +35,7 @@ class RoutingTest extends GraphQLTestBase { public function setUp(): void { parent::setUp(); + $this->installEntitySchema('path_alias'); $this->installEntitySchema('redirect'); $this->installConfig(['redirect']); @@ -129,7 +130,8 @@ public function testUrlPath(): void { 'url' => $url, ]); - $this->assertEquals('/user/logout', $result); + // Starting with Drupal 10.3 the URL has a token at the end, ignore that. + $this->assertStringStartsWith('/user/logout', $result); } /**