X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FTestSuites%2FTestSuiteBaseTest.php;fp=web%2Fcore%2Ftests%2FDrupal%2FTests%2FTestSuites%2FTestSuiteBaseTest.php;h=fa50e45d5bc97f4eab3d84162f80f6164f7f0fb5;hp=0ba8143427771652fb38cd46cf2b386c6c097b7a;hb=bfbba508964731508b9bd6d5835c2edc858db95b;hpb=cb9a80db11fc6b014e5b1e693a5a391c95eb5d9a diff --git a/web/core/tests/Drupal/Tests/TestSuites/TestSuiteBaseTest.php b/web/core/tests/Drupal/Tests/TestSuites/TestSuiteBaseTest.php index 0ba814342..fa50e45d5 100644 --- a/web/core/tests/Drupal/Tests/TestSuites/TestSuiteBaseTest.php +++ b/web/core/tests/Drupal/Tests/TestSuites/TestSuiteBaseTest.php @@ -94,6 +94,14 @@ class TestSuiteBaseTest extends \PHPUnit_Framework_TestCase { $this->assertEmpty(array_diff_assoc($expected_tests, $stub->testFiles)); } + /** + * Tests the assumption that local time is in 'Australia/Sydney'. + */ + public function testLocalTimeZone() { + // The 'Australia/Sydney' time zone is set in core/tests/bootstrap.php + $this->assertEquals('Australia/Sydney', date_default_timezone_get()); + } + } /**