Commit e367fdf9 authored by tim.plunkett's avatar tim.plunkett

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

parent 7c94e489
......@@ -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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment