diff --git a/modules/oe_content_persistent/tests/src/Functional/PersistentUrlControllerTest.php b/modules/oe_content_persistent/tests/src/Functional/PersistentUrlControllerTest.php index a546ffc3b..8bafa975d 100644 --- a/modules/oe_content_persistent/tests/src/Functional/PersistentUrlControllerTest.php +++ b/modules/oe_content_persistent/tests/src/Functional/PersistentUrlControllerTest.php @@ -83,7 +83,7 @@ public function testPersistentUrlController(): void { $this->assertResponse(404); // Not valid uuid. - $this->drupalGet('/content/' . $this->randomString()); + $this->drupalGet('/content/' . $this->randomMachineName()); $this->assertResponse(404); // Create a new node that will be sent to the home page by the controller.