Commit efe0024e authored by catch's avatar catch

Issue #1892016 by dawehner: Fixed Random test failure in...

Issue #1892016 by dawehner: Fixed Random test failure in Drupal\rest\Tests\Views\StyleSerializerTest.
parent c27d77eb
......@@ -174,7 +174,9 @@ public function testUIFieldAlias() {
// Test a random aliases for fields, they should be replaced.
$random_name = $this->randomName();
$random_string = $this->randomString();
// randomString() might produce a " " at the end but the DataFieldRow plugin
// trims the values.
$random_string = trim($this->randomString());
$edit = array('row_options[aliases][name]' => $random_name, 'row_options[aliases][nothing]' => $random_string);
$this->drupalPost($row_options, $edit, t('Apply'));
$this->drupalPost(NULL, array(), t('Save'));
......
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