diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-20 13:37:59 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-20 13:37:59 +0200 |
commit | a84055b49539da1faa2893618b2475d1888a9fea (patch) | |
tree | ea65a1df057399796f475d608f7b72581b76f329 /tests/codeigniter | |
parent | 2f0dce0fa788c442c85318afc30122afb20a880b (diff) |
Fix issue #1510
Diffstat (limited to 'tests/codeigniter')
-rw-r--r-- | tests/codeigniter/helpers/date_helper_test.php | 6 |
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') ); } |