summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-20 13:37:59 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-20 13:37:59 +0200
commita84055b49539da1faa2893618b2475d1888a9fea (patch)
treeea65a1df057399796f475d608f7b72581b76f329 /tests
parent2f0dce0fa788c442c85318afc30122afb20a880b (diff)
Fix issue #1510
Diffstat (limited to 'tests')
-rw-r--r--tests/codeigniter/helpers/date_helper_test.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/codeigniter/helpers/date_helper_test.php b/tests/codeigniter/helpers/date_helper_test.php
index 8258c9248..4e01b1aa3 100644
--- a/tests/codeigniter/helpers/date_helper_test.php
+++ b/tests/codeigniter/helpers/date_helper_test.php
@@ -48,11 +48,9 @@ class Date_helper_test extends CI_TestCase {
*/
- $this->ci_set_config('time_reference', 'UTC');
-
$this->assertEquals(
- gmmktime(date('G'), date('i'), date('s'), date('n'), date('j'), date('Y')),
- now()
+ mktime(gmdate('G'), gmdate('i'), gmdate('s'), gmdate('n'), gmdate('j'), gmdate('Y')),
+ now('UTC')
);
}