Skip to content

Commit 286ee28

Browse files
committed
Fix test fails
1 parent ee51ddf commit 286ee28

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/src/Kernel/DataProducer/RoutingTest.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class RoutingTest extends GraphQLTestBase {
3535
public function setUp(): void {
3636
parent::setUp();
3737

38+
$this->installEntitySchema('path_alias');
3839
$this->installEntitySchema('redirect');
3940
$this->installConfig(['redirect']);
4041

@@ -129,7 +130,8 @@ public function testUrlPath(): void {
129130
'url' => $url,
130131
]);
131132

132-
$this->assertEquals('/user/logout', $result);
133+
// Starting with Drupal 10.3 the URL has a token at the end, ignore that.
134+
$this->assertStringStartsWith('/user/logout', $result);
133135
}
134136

135137
/**

0 commit comments

Comments
 (0)