Issue #1965048 by olli: Fixed Frequent random test failure EntityTranslationUITest Invalid values generate a list of form errors.

8.0.x
Alex Pott 2013-05-29 08:48:21 +01:00
parent af9859d788
commit 7389325c36
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ abstract class EntityTranslationUITest extends EntityTranslationTestBase {
$edit = array( $edit = array(
// User names have by default length 8. // User names have by default length 8.
'translation_entity[name]' => $this->randomName(12), 'translation_entity[name]' => $this->randomName(12),
'translation_entity[created]' => $this->randomName(), 'translation_entity[created]' => '19/11/1978',
); );
$this->drupalPost($path, $edit, $this->getFormSubmitAction($entity)); $this->drupalPost($path, $edit, $this->getFormSubmitAction($entity));
$this->assertTrue($this->xpath('//div[@id="messages"]//div[contains(@class, "error")]//ul'), 'Invalid values generate a list of form errors.'); $this->assertTrue($this->xpath('//div[@id="messages"]//div[contains(@class, "error")]//ul'), 'Invalid values generate a list of form errors.');