Skip to content

Commit

Permalink
Fix issue #1510
Browse files Browse the repository at this point in the history
  • Loading branch information
narfbg committed Jun 20, 2012
1 parent 2f0dce0 commit a84055b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/codeigniter/helpers/date_helper_test.php
Expand Up @@ -48,11 +48,9 @@ public function test_now_utc()
*/

$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')
);
}

Expand Down

0 comments on commit a84055b

Please sign in to comment.