diff --git a/core/modules/statistics/statistics.test b/core/modules/statistics/statistics.test index a0147679b8756c49392a7487a786b60cfab8cc68..f12490acf91dc330b4289292716d911fc535e59b 100644 --- a/core/modules/statistics/statistics.test +++ b/core/modules/statistics/statistics.test @@ -130,7 +130,7 @@ class StatisticsLoggingTestCase extends DrupalWebTestCase { $this->assertEqual(array_intersect_key($log[6], $expected), $expected); // Create a path longer than 255 characters. - $long_path = $this->randomString(256); + $long_path = $this->randomName(256); // Test that the long path is properly truncated when logged. $this->drupalGet($long_path);