Skip to content

Commit

Permalink
Fix test fails
Browse files Browse the repository at this point in the history
  • Loading branch information
klausi committed Jun 28, 2024
1 parent ee51ddf commit 286ee28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/Kernel/DataProducer/RoutingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class RoutingTest extends GraphQLTestBase {
public function setUp(): void {
parent::setUp();

$this->installEntitySchema('path_alias');
$this->installEntitySchema('redirect');
$this->installConfig(['redirect']);

Expand Down Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 286ee28

Please sign in to comment.