1
0
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:
Steve Clay
2008-09-12 03:42:45 +00:00
parent c54ae9205c
commit 97a33bef5d

View File

@@ -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