diff --git a/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php b/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php index 8f3bc6b..1bed4ad 100644 --- a/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php @@ -232,29 +232,29 @@ public function testPropertyMethods() { $this->assertEqual($view->generateItemId('test', $test_ids), 'test_2'); // Test the getPath() method. - $path = $this->randomString(10); + $path = $this->randomName(); $view->displayHandlers['page_1']->overrideOption('path', $path); $view->setDisplay('page_1'); $this->assertEqual($view->getPath(), $path); // Test the override_path property override. - $override_path = $this->randomString(10); + $override_path = $this->randomName(); $view->override_path = $override_path; $this->assertEqual($view->getPath(), $override_path); // Test the getUrl method(). - $url = $this->randomString(10); + $url = $this->randomString(); $this->assertEqual($view->getUrl(NULL, $url), $url); // Test with arguments. - $arg1 = $this->randomString(10); + $arg1 = $this->randomString(); $arg2 = rand(); $this->assertEqual($view->getUrl(array($arg1, $arg2), $url), "$url/$arg1/$arg2"); // Test the override_url property override. - $override_url = $this->randomString(10); + $override_url = $this->randomString(); $view->override_url = $override_url; $this->assertEqual($view->getUrl(NULL, $url), $override_url); // Test the title methods. - $title = $this->randomString(10); + $title = $this->randomString(); $view->setTitle($title); $this->assertEqual($view->getTitle(), $title); }