diff options
Diffstat (limited to 'tests/FunctionalTests/validators/tests/DatePickerTestCase.php')
-rwxr-xr-x | tests/FunctionalTests/validators/tests/DatePickerTestCase.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php index a80ff254..81c24aca 100755 --- a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php +++ b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php @@ -1,14 +1,14 @@ <?php -class DatePickerTestCase extends PradoGenericSeleniumTest +class DatePickerTestCase extends PradoGenericSelenium2Test { function test() { $year=2012; $year2=2013; $base = "ctl0_Content_"; - $this->open("validators/index.php?page=DatePicker", ""); - $this->verifyTextPresent("Date Picker validation Test", ""); + $this->url("validators/index.php?page=DatePicker"); + $this->assertTextPresent("Date Picker validation Test", ""); $this->assertNotVisible("{$base}validator1", ""); $this->assertNotVisible("{$base}validator2", ""); $this->assertNotVisible("{$base}validator4", ""); |