Page MenuHomePhabricator

D16952.id.diff
No OneTemporary

D16952.id.diff

diff --git a/src/view/__tests__/PhabricatorLocalTimeTestCase.php b/src/view/__tests__/PhabricatorLocalTimeTestCase.php
--- a/src/view/__tests__/PhabricatorLocalTimeTestCase.php
+++ b/src/view/__tests__/PhabricatorLocalTimeTestCase.php
@@ -2,11 +2,17 @@
final class PhabricatorLocalTimeTestCase extends PhabricatorTestCase {
+ protected function getPhabricatorTestCaseConfiguration() {
+ return array(
+ self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true,
+ );
+ }
+
public function testLocalTimeFormatting() {
- $user = new PhabricatorUser();
+ $user = $this->generateNewTestUser();
$user->overrideTimezoneIdentifier('America/Los_Angeles');
- $utc = new PhabricatorUser();
+ $utc = $this->generateNewTestUser();
$utc->overrideTimezoneIdentifier('UTC');
$this->assertEqual(

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 1, 8:27 AM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716646
Default Alt Text
D16952.id.diff (835 B)

Event Timeline