From 8fd2f49c44f779eee26a22864a17e4513905c372 Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Mon, 21 Nov 2011 14:41:06 -0800
Subject: [PATCH] Issue #1346772 by xjm: Fixed
 StatisticsLoggingTestCase->testLogging() is unstable.

---
 core/modules/statistics/statistics.test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/statistics/statistics.test b/core/modules/statistics/statistics.test
index a0147679b875..f12490acf91d 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);
-- 
GitLab