Commit ce8e41b5 authored by Pascal Luna's avatar Pascal Luna

Fix AssetServiceProviderTest::testGenerateAssetUrl

parent 0a3b2a9d
...@@ -29,7 +29,7 @@ class AssetServiceProviderTest extends \PHPUnit_Framework_TestCase ...@@ -29,7 +29,7 @@ class AssetServiceProviderTest extends \PHPUnit_Framework_TestCase
)); ));
$this->assertEquals('/foo.png?version=v1', $app['assets.packages']->getUrl('/foo.png')); $this->assertEquals('/foo.png?version=v1', $app['assets.packages']->getUrl('/foo.png'));
$this->assertEquals('/whatever-makes-sense/foo.css?css2', $app['assets.packages']->getUrl('/foo.css', 'css')); $this->assertEquals('/whatever-makes-sense/foo.css?css2', $app['assets.packages']->getUrl('foo.css', 'css'));
$this->assertEquals('https://img.example.com/foo.png', $app['assets.packages']->getUrl('/foo.png', 'images')); $this->assertEquals('https://img.example.com/foo.png', $app['assets.packages']->getUrl('/foo.png', 'images'));
} }
} }
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