Commit f130dca1 by Qiang Xue

Fixed test break.

parent cdf52d69
...@@ -264,40 +264,40 @@ class AssetControllerTest extends TestCase ...@@ -264,40 +264,40 @@ class AssetControllerTest extends TestCase
{ {
return [ return [
[ [
'.published-same-dir-class {background-image: url(published_same_dir.png];}', '.published-same-dir-class {background-image: url(published_same_dir.png);}',
'/test/base/path/assets/input', '/test/base/path/assets/input',
'/test/base/path/assets/output', '/test/base/path/assets/output',
'.published-same-dir-class {background-image: url(../input/published_same_dir.png];}', '.published-same-dir-class {background-image: url(../input/published_same_dir.png);}',
], ],
[ [
'.published-relative-dir-class {background-image: url(../img/published_relative_dir.png];}', '.published-relative-dir-class {background-image: url(../img/published_relative_dir.png);}',
'/test/base/path/assets/input', '/test/base/path/assets/input',
'/test/base/path/assets/output', '/test/base/path/assets/output',
'.published-relative-dir-class {background-image: url(../img/published_relative_dir.png];}', '.published-relative-dir-class {background-image: url(../img/published_relative_dir.png);}',
], ],
[ [
'.static-same-dir-class {background-image: url(\'static_same_dir.png\'];}', '.static-same-dir-class {background-image: url(\'static_same_dir.png\');}',
'/test/base/path/css', '/test/base/path/css',
'/test/base/path/assets/output', '/test/base/path/assets/output',
'.static-same-dir-class {background-image: url(\'../../css/static_same_dir.png\'];}', '.static-same-dir-class {background-image: url(\'../../css/static_same_dir.png\');}',
], ],
[ [
'.static-relative-dir-class {background-image: url("../img/static_relative_dir.png"];}', '.static-relative-dir-class {background-image: url("../img/static_relative_dir.png");}',
'/test/base/path/css', '/test/base/path/css',
'/test/base/path/assets/output', '/test/base/path/assets/output',
'.static-relative-dir-class {background-image: url("../../img/static_relative_dir.png"];}', '.static-relative-dir-class {background-image: url("../../img/static_relative_dir.png");}',
], ],
[ [
'.absolute-url-class {background-image: url(http://domain.com/img/image.gif];}', '.absolute-url-class {background-image: url(http://domain.com/img/image.gif);}',
'/test/base/path/assets/input', '/test/base/path/assets/input',
'/test/base/path/assets/output', '/test/base/path/assets/output',
'.absolute-url-class {background-image: url(http://domain.com/img/image.gif];}', '.absolute-url-class {background-image: url(http://domain.com/img/image.gif);}',
], ],
[ [
'.absolute-url-secure-class {background-image: url(https://secure.domain.com/img/image.gif];}', '.absolute-url-secure-class {background-image: url(https://secure.domain.com/img/image.gif);}',
'/test/base/path/assets/input', '/test/base/path/assets/input',
'/test/base/path/assets/output', '/test/base/path/assets/output',
'.absolute-url-secure-class {background-image: url(https://secure.domain.com/img/image.gif];}', '.absolute-url-secure-class {background-image: url(https://secure.domain.com/img/image.gif);}',
], ],
]; ];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment