diff options
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages')
-rwxr-xr-x | tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.php b/tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.php index d4a98e26..49a5db93 100755 --- a/tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.php +++ b/tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.php @@ -22,23 +22,23 @@ class BasicI18N extends TPage * @version $Revision: 1.66 $ $Date: ${DATE} ${TIME} $ * @package ${package} *//* -class BasicI18NTestCase extends PradoGenericSeleniumTest +class BasicI18NTestCase extends PradoGenericSelenium2Test { function setup() { $page = Prado::getApplication()->getTestPage(__FILE__); - $this->open($page); + $this->url($page); } function testI18N() { $this->verifyTitle("Basic I18N Test", ""); - $this->verifyTextPresent("Hello", ""); - $this->verifyTextPresent("US$10,000.00", ""); - $this->verifyTextPresent("2006年1月15日 上午12时00分00秒", ""); - $this->verifyTextPresent("None", ""); - $this->verifyTextPresent("One thing.", ""); - $this->verifyTextPresent("Many things.", ""); + $this->assertTextPresent("Hello", ""); + $this->assertTextPresent("US$10,000.00", ""); + $this->assertTextPresent("2006年1月15日 上午12时00分00秒", ""); + $this->assertTextPresent("None", ""); + $this->assertTextPresent("One thing.", ""); + $this->assertTextPresent("Many things.", ""); } } */
\ No newline at end of file |