From 34f638b2ff3cca5d67a10ed2798fd10f40b85a2d Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Wed, 25 Sep 2013 21:12:45 +0200
Subject: [PATCH] Issue #2097537 by tim.plunkett: Fixed Random failure in
 Drupal\block\Tests\Views\DisplayBlockTest->testBlockCategory().

---
 .../block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php b/core/modules/block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php
index 463bcd523b18..668bd77bf87e 100644
--- a/core/modules/block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php
+++ b/core/modules/block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php
@@ -95,7 +95,7 @@ public function testBlockCategory() {
     $this->drupalPostForm(NULL, array(), t('Save'));
 
     // Test that the blocks are listed under the correct categories.
-    $category_id = 'edit-' . drupal_html_id(String::checkPlain($category));
+    $category_id = drupal_html_id('edit-' . String::checkPlain($category));
     $arguments[':id'] = $category_id;
     $this->drupalGet('admin/structure/block');
     $elements = $this->xpath('//details[@id=:id]//li[contains(@class, :li_class)]/a[contains(@href, :href) and text()=:text]', $arguments);
-- 
GitLab