diff options
Diffstat (limited to 'tests/PHPUnit/Core/ScheduledTime')
-rw-r--r-- | tests/PHPUnit/Core/ScheduledTime/DailyTest.php | 2 | ||||
-rw-r--r-- | tests/PHPUnit/Core/ScheduledTime/MonthlyTest.php | 2 | ||||
-rw-r--r-- | tests/PHPUnit/Core/ScheduledTime/WeeklyTest.php | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/tests/PHPUnit/Core/ScheduledTime/DailyTest.php b/tests/PHPUnit/Core/ScheduledTime/DailyTest.php index 9d047546c9..1a62019392 100644 --- a/tests/PHPUnit/Core/ScheduledTime/DailyTest.php +++ b/tests/PHPUnit/Core/ScheduledTime/DailyTest.php @@ -97,12 +97,10 @@ class ScheduledTime_DailyTest extends PHPUnit_Framework_TestCase $timeUTC = $mock->getRescheduledTime(); $this->assertEquals(self::$_JANUARY_02_1971_00_00_00, $timeUTC); - $mock->setTimezone('Pacific/Auckland'); $timeAuckland = $mock->getRescheduledTime(); $this->assertEquals(-13 * $oneHourInSeconds, $timeAuckland - $timeUTC); - $mock->setTimezone('America/Los_Angeles'); $timeLosAngeles = $mock->getRescheduledTime(); $this->assertEquals(8 * $oneHourInSeconds, $timeLosAngeles - $timeUTC); diff --git a/tests/PHPUnit/Core/ScheduledTime/MonthlyTest.php b/tests/PHPUnit/Core/ScheduledTime/MonthlyTest.php index 1a57fd2df5..17bde4ee6d 100644 --- a/tests/PHPUnit/Core/ScheduledTime/MonthlyTest.php +++ b/tests/PHPUnit/Core/ScheduledTime/MonthlyTest.php @@ -109,12 +109,10 @@ class ScheduledTime_MonthlyTest extends PHPUnit_Framework_TestCase $timeUTC = $mock->getRescheduledTime(); $this->assertEquals(self::$_FEBRUARY_01_1971_00_00_00, $timeUTC); - $mock->setTimezone('Pacific/Auckland'); $timeAuckland = $mock->getRescheduledTime(); $this->assertEquals(-13 * $oneHourInSeconds, $timeAuckland - $timeUTC); - $mock->setTimezone('America/Los_Angeles'); $timeLosAngeles = $mock->getRescheduledTime(); $this->assertEquals(8 * $oneHourInSeconds, $timeLosAngeles - $timeUTC); diff --git a/tests/PHPUnit/Core/ScheduledTime/WeeklyTest.php b/tests/PHPUnit/Core/ScheduledTime/WeeklyTest.php index 2f6df0230a..62b6fce8ed 100644 --- a/tests/PHPUnit/Core/ScheduledTime/WeeklyTest.php +++ b/tests/PHPUnit/Core/ScheduledTime/WeeklyTest.php @@ -145,12 +145,10 @@ class ScheduledTime_WeeklyTest extends PHPUnit_Framework_TestCase $timeUTC = $mock->getRescheduledTime(); $this->assertEquals(self::$_JANUARY_04_1971_00_00_00, $timeUTC); - $mock->setTimezone('Pacific/Auckland'); $timeAuckland = $mock->getRescheduledTime(); $this->assertEquals(-13 * $oneHourInSeconds, $timeAuckland - $timeUTC); - $mock->setTimezone('America/Los_Angeles'); $timeLosAngeles = $mock->getRescheduledTime(); $this->assertEquals(8 * $oneHourInSeconds, $timeLosAngeles - $timeUTC); |