Skip to content
Snippets Groups Projects
Commit 34f638b2 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2097537 by tim.plunkett: Fixed Random failure in...

Issue #2097537 by tim.plunkett: Fixed Random failure in Drupal\block\Tests\Views\DisplayBlockTest->testBlockCategory().
parent adaf8355
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment