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/features/protected/pages/I18N/BasicI18N.php | |
parent | 1feb1e95660fdfeb5b6d9e12c6fe085aa2bec5ad (diff) |
Fix tests
work around stale references by explicitly waiting
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.php')
-rwxr-xr-x | tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.php b/tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.php index 5292affb..697fb84a 100755 --- a/tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.php +++ b/tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.php @@ -33,12 +33,12 @@ class BasicI18NTestCase extends PradoGenericSelenium2Test function testI18N() { $this->assertEquals("Basic I18N Test", $this->title()); - $this->assertContains("Hello", $this->source()); + $this->assertSourceContains("Hello"); $this->assertContains("US$10,000.00", $this->source()); - $this->assertContains("2006年1月15日 上午12时00分00秒", $this->source()); - $this->assertContains("None", $this->source()); - $this->assertContains("One thing.", $this->source()); - $this->assertContains("Many things.", $this->source()); + $this->assertSourceContains("2006年1月15日 上午12时00分00秒"); + $this->assertSourceContains("None"); + $this->assertSourceContains("One thing."); + $this->assertSourceContains("Many things."); } } */
\ No newline at end of file |