mirror of
https://github.com/mrclay/minify.git
synced 2025-08-15 10:34:02 +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
|
||||
|
||||
$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(
|
||||
'success' => true
|
||||
,'statusCode' => 200
|
||||
|
Reference in New Issue
Block a user