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
Sat, Dec 21, 11:02 PM (15 h, 6 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6916435
Default Alt Text
D16952.id.diff (835 B)

Event Timeline