diff options
author | ctrlaltca@gmail.com <> | 2011-05-21 18:14:36 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-05-21 18:14:36 +0000 |
commit | 0892b27e326f14bd3f6229b55077ef5f9d5280b4 (patch) | |
tree | 24039ec47ba8977bf14ba435c058e758e901f185 /tests/FunctionalTests | |
parent | 6f00b28a1d9c7409c956a83866eac48a9493e83c (diff) |
branch/3.1: merged bugfixes from trunk/ up to current
Diffstat (limited to 'tests/FunctionalTests')
-rwxr-xr-x | tests/FunctionalTests/active-controls/tests/ActiveDatePickerTestCase.php | 8 | ||||
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket439TestCase.php | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/ActiveDatePickerTestCase.php b/tests/FunctionalTests/active-controls/tests/ActiveDatePickerTestCase.php index c3b47934..f5915634 100755 --- a/tests/FunctionalTests/active-controls/tests/ActiveDatePickerTestCase.php +++ b/tests/FunctionalTests/active-controls/tests/ActiveDatePickerTestCase.php @@ -100,9 +100,9 @@ class ActiveDatePickerTestCase extends SeleniumTestCase $this->verifySelected("datepicker2_month", date('m', $dateToCheck)); $this->verifySelected("datepicker2_day", date('d', $dateToCheck)); $this->verifySelected("datepicker2_year", date('Y', $dateToCheck)); - $this->select("datepicker2_year", 2005); + $this->select("datepicker2_year", date('Y')+1); $this->pause(800); - $dateToCheck=mktime(0,0,0,(int)date('m'),(int)date('d'), 2005); + $dateToCheck=mktime(0,0,0,(int)date('m'),(int)date('d'), date('Y')+1); $this->verifyText("status2", date('m-d-Y', $dateToCheck)); @@ -110,9 +110,9 @@ class ActiveDatePickerTestCase extends SeleniumTestCase $dateToCheck=time(); $this->verifySelected("datepicker3_month", date('F', $dateToCheck)); $this->verifySelected("datepicker3_year", date('Y', $dateToCheck)); - $this->select("datepicker3_year", 2005); + $this->select("datepicker3_year", date('Y')+1); $this->pause(800); - $dateToCheck=mktime(0,0,0,(int)date('m'),(int)date('d'), 2005); + $dateToCheck=mktime(0,0,0,(int)date('m'),(int)date('d'), date('Y')+1); $this->verifyText("status3", date('m/Y', $dateToCheck)); } } diff --git a/tests/FunctionalTests/tickets/tests/Ticket439TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket439TestCase.php index 8ba47e87..651e322c 100644 --- a/tests/FunctionalTests/tickets/tests/Ticket439TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket439TestCase.php @@ -1,4 +1,4 @@ -<?php +<?php
class Ticket439TestCase extends SeleniumTestCase
{
@@ -10,7 +10,7 @@ class Ticket439TestCase extends SeleniumTestCase $this->click("{$base}button1");
$this->waitForPageToLoad(3000);
$this->pause(800);
- $this->assertTitle("Verifying Ticket Home");
+ $this->assertTitle("Verifying Home");
}
-} +}
?>
\ No newline at end of file |