Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14041157
D16952.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
835 B
Referenced Files
None
Subscribers
None
D16952.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 12, 4:22 PM (6 d, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716646
Default Alt Text
D16952.diff (835 B)
Attached To
Mode
D16952: Fix local time test case for logged-out viewers using global settings
Attached
Detach File
Event Timeline
Log In to Comment