CSSMin: Change behavior for missing files
[lhc/web/wiklou.git] / tests / phpunit / includes / libs / CSSMinTest.php
index 239cdf6..94ebe60 100644 (file)
@@ -148,6 +148,11 @@ class CSSMinTest extends MediaWikiTestCase {
                                'foo { background: url(red.gif); }',
                                'foo { background: url(http://localhost/w/red.gif?timestamp); }',
                        ),
+                       array(
+                               'Regular file (missing)',
+                               'foo { background: url(theColorOfHerHair.gif); }',
+                               'foo { background: url(http://localhost/w/theColorOfHerHair.gif); }',
+                       ),
                        array(
                                'Remote URL',
                                'foo { background: url(http://example.org/w/foo.png); }',