Skip to content
Snippets Groups Projects
Commit e367fdf9 authored by Tim Plunkett's avatar Tim Plunkett
Browse files

Issue #1754238 by tim.plunkett: Fix random test failure and clean up setUp() code.

parent 7c94e489
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -39,8 +39,7 @@ public function setUp() {
$this->drupalLogin($this->adminUser);
// Create 10 nodes.
$this->nodes = array();
for ($i = 0; $i < 11; $i++) {
for ($i = 0; $i <= 10; $i++) {
$this->drupalCreateNode(array('promote' => TRUE));
}
}
......@@ -100,7 +99,7 @@ function testDisplayPlugin() {
// Check the new value has been saved by checking the UI summary text.
$this->drupalGet('admin/structure/views/view/frontpage/edit/display_test_1');
$this->assertText($this->randomString);
$this->assertRaw($this->randomString);
}
/**
......
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