Upgraded drupal core with security updates
[yaffs-website] / web / core / tests / Drupal / Tests / TestSuites / TestSuiteBaseTest.php
index 0ba8143427771652fb38cd46cf2b386c6c097b7a..fa50e45d5bc97f4eab3d84162f80f6164f7f0fb5 100644 (file)
@@ -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());
+  }
+
 }
 
 /**