Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix failing testcase

  • Loading branch information...
commit 3a183849298e606475af8a606cb2c3a9c512ad8c 1 parent 1b288b7
@ceeram ceeram authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Test/Case/Routing/Filter/AssetDispatcherTest.php
View
2  lib/Cake/Test/Case/Routing/Filter/AssetDispatcherTest.php
@@ -93,7 +93,7 @@ public function testNotModified() {
'View' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'View' . DS)
));
$time = filemtime(App::themePath('TestTheme') . 'webroot' . DS . 'img' . DS . 'cake.power.gif');
- $time = new DateTime(date('Y-m-d H:i:s', $time), new DateTimeZone('UTC'));
+ $time = new DateTime('@' . $time);
$response = $this->getMock('CakeResponse', array('send', 'checkNotModified'));
$request = new CakeRequest('theme/test_theme/img/cake.power.gif');
Please sign in to comment.
Something went wrong with that request. Please try again.