Skip to content

Commit

Permalink
fix failing testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeram committed May 3, 2012
1 parent 1b288b7 commit 3a18384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Routing/Filter/AssetDispatcherTest.php
Expand Up @@ -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');
Expand Down

0 comments on commit 3a18384

Please sign in to comment.