mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
fix failing testcase
This commit is contained in:
parent
1b288b74d9
commit
3a18384929
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class AssetDispatcherTest extends CakeTestCase {
|
|||
'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');
|
||||
|
|
Loading…
Add table
Reference in a new issue