Commit 72af92be authored by aspilicious's avatar aspilicious Committed by tim.plunkett

Issue #1778996 by aspilicious: Fixed random fails in FieldTest.

parent 3380c465
...@@ -370,7 +370,7 @@ public function testRewrite() { ...@@ -370,7 +370,7 @@ public function testRewrite() {
$id_field = $view->field['id']; $id_field = $view->field['id'];
// Don't check the rewrite checkbox, so the text shouldn't appear. // Don't check the rewrite checkbox, so the text shouldn't appear.
$id_field->options['alter']['text'] = $random_text = $this->randomString(); $id_field->options['alter']['text'] = $random_text = $this->randomName();
$output = $id_field->theme($row); $output = $id_field->theme($row);
$this->assertNotSubString($output, $random_text); $this->assertNotSubString($output, $random_text);
......
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