mirror of
https://github.com/mrclay/minify.git
synced 2025-08-15 18:45:04 +02:00
test_Minify.php : fixed test of Last-Modified time.
This commit is contained in:
@@ -56,7 +56,10 @@ function test_Minify()
|
|||||||
// Test minifying JS and serving with Expires header
|
// Test minifying JS and serving with Expires header
|
||||||
|
|
||||||
$content = preg_replace('/\\r\\n?/', "\n", file_get_contents($minifyTestPath . '/minified.js'));
|
$content = preg_replace('/\\r\\n?/', "\n", file_get_contents($minifyTestPath . '/minified.js'));
|
||||||
$lastModified = filemtime($minifyTestPath . '/minified.js');
|
$lastModified = max(
|
||||||
|
filemtime($minifyTestPath . '/email.js')
|
||||||
|
,filemtime($minifyTestPath . '/QueryString.js')
|
||||||
|
);
|
||||||
$expected = array(
|
$expected = array(
|
||||||
'success' => true
|
'success' => true
|
||||||
,'statusCode' => 200
|
,'statusCode' => 200
|
||||||
|
Reference in New Issue
Block a user