diff options
author | David <ottodavid@gmx.net> | 2015-08-06 18:12:45 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2015-08-06 18:14:04 +0200 |
commit | bdfd9f07f17de1751a7e4d94940acb426af4be77 (patch) | |
tree | 093d0e40504e0ece761733780934e0d6f09888fe /tests/FunctionalTests/tickets/tests/Ticket886TestCase.php | |
parent | 1feb1e95660fdfeb5b6d9e12c6fe085aa2bec5ad (diff) |
Fix tests
work around stale references by explicitly waiting
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket886TestCase.php')
-rwxr-xr-x | tests/FunctionalTests/tickets/tests/Ticket886TestCase.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php index 7f9c23f3..4eaf9c6b 100755 --- a/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php @@ -8,7 +8,7 @@ class Ticket886TestCase extends PradoGenericSelenium2Test $this->assertEquals($this->title(), "Verifying Ticket 886"); $base = 'ctl0_Content_'; $this->byId($base.'SendButton')->click(); - $this->assertContains(date('Y').'-01-01', $this->source()); + $this->assertSourceContains(date('Y').'-01-01'); } } |