Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14375928
D16952.id.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.id.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
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)
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