Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a671ebe
)
MDL-49684 time: fix unit tests broken by refactoring
author
Dan Poltawski
<dan@moodle.com>
Mon, 6 Apr 2015 10:09:25 +0000
(11:09 +0100)
committer
Dan Poltawski
<dan@moodle.com>
Mon, 6 Apr 2015 10:09:25 +0000
(11:09 +0100)
lib/tests/date_legacy_test.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/tests/date_legacy_test.php
b/lib/tests/date_legacy_test.php
index
9e95bfe
..
d495bcd
100644
(file)
--- a/
lib/tests/date_legacy_test.php
+++ b/
lib/tests/date_legacy_test.php
@@
-377,10
+377,10
@@
class core_date_legacy_testcase extends advanced_testcase {
$this->assertSame('Europe/Prague', usertimezone());
$USER->timezone = '1';
- $this->assertSame('
Etc/GMT-
1', usertimezone());
+ $this->assertSame('
UTC+
1', usertimezone());
$USER->timezone = '0';
- $this->assertSame('
Etc/GMT
', usertimezone());
+ $this->assertSame('
UTC
', usertimezone());
$USER->timezone = '99';
$this->assertSame('Pacific/Auckland', usertimezone());