mennake / minify

Automatically exported from code.google.com/p/minify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i have aproblem with test_Minify_CSS.php

GoogleCodeExporter opened this issue · comments

Are you sure this is not a problem with your configuration? (ask on the
Google Group)

Minify commit/version: latest
PHP version: dunno

What steps did i made?
1. i went to http://multigaming.co/min_unit_tests/test_all.php
2. found errors.
3. want your help.

Expected output: all be "PASS"

Actual output:

PASS: Minify : 304 response (1 of 1 tests run so far have passed)
PASS: Minify : cache, and minifier classes aren't loaded for 304s (2 of 2 tests 
run so far have passed)
PASS: Minify : JS and Expires (3 of 3 tests run so far have passed)
PASS: Minify : Issue 73 (4 of 4 tests run so far have passed)
PASS: Minify : Issue 89 : bubbleCssImports (5 of 5 tests run so far have passed)
PASS: Minify : Issue 89 : detect invalid imports (6 of 6 tests run so far have 
passed)
PASS: Minify : Issue 89 : don't warn about valid imports (7 of 7 tests run so 
far have passed)
PASS: Minify : CSS and Etag/Last-Modified (8 of 8 tests run so far have passed)
PASS: Minify_Build : single file path (9 of 9 tests run so far have passed)
PASS: Minify_Build : multiple file paths (10 of 10 tests run so far have passed)
PASS: Minify_Build : file path and a Minify_Source (11 of 11 tests run so far 
have passed)
PASS: Minify_Build : uri() with no querystring (12 of 12 tests run so far have 
passed)
PASS: Minify_Build : uri() with existing querystring (13 of 13 tests run so far 
have passed)
PASS: Minify_HTML_Helper : given URIs (14 of 14 tests run so far have passed)
PASS: Minify_HTML_Helper : given filepaths (15 of 15 tests run so far have 
passed)
PASS: Minify_HTML_Helper : non-existent group & debug (16 of 16 tests run so 
far have passed)
PASS: Minify_HTML_Helper : existing group (17 of 17 tests run so far have 
passed)
PASS: utils.php : Minify_mtime w/ files & obj (18 of 18 tests run so far have 
passed)
PASS: utils.php : Minify_mtime w/ obj & group (19 of 19 tests run so far have 
passed)
NOTE: Minify_Cache_File : path is set to: '/tmp'.
PASS: Minify_Cache_File : store (20 of 20 tests run so far have passed)
PASS: Minify_Cache_File : getSize (21 of 21 tests run so far have passed)
PASS: Minify_Cache_File : isValid (22 of 22 tests run so far have passed)
PASS: Minify_Cache_File : display (23 of 23 tests run so far have passed)
PASS: Minify_Cache_File : fetch (24 of 24 tests run so far have passed)
PASS: Minify_Cache_File : store w/ lock (25 of 25 tests run so far have passed)
PASS: Minify_Cache_File : getSize (26 of 26 tests run so far have passed)
PASS: Minify_Cache_File : isValid (27 of 27 tests run so far have passed)
PASS: Minify_Cache_File : display w/ lock (28 of 28 tests run so far have 
passed)
PASS: Minify_Cache_File : fetch w/ lock (29 of 29 tests run so far have passed)
<br />
<b>Warning</b>:  dir() has been disabled for security reasons in 
<b>/home/multigam/public_html/min_unit_tests/test_Minify_CSS.php</b> on line 
<b>11</b><br />
<br />
<b>Fatal error</b>:  Call to a member function read() on a non-object in 
<b>/home/multigam/public_html/min_unit_tests/test_Minify_CSS.php</b> on line 
<b>12</b><br />


Original issue reported on code.google.com by m96a...@gmail.com on 21 May 2014 at 10:17

dir() shouldn't be required for normal operation, so Minify way work fine even 
if the unit tests fail.

Original comment by mrclay....@gmail.com on 23 May 2014 at 1:21

  • Changed state: Invalid