|
|
@ -92,8 +92,7 @@ class AssetControllerTest extends TestCase |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
protected function createCompressConfig(array $bundles) |
|
|
|
protected function createCompressConfig(array $bundles) |
|
|
|
{ |
|
|
|
{ |
|
|
|
//$baseUrl = '/test'; |
|
|
|
$baseUrl = '/test'; |
|
|
|
$baseUrl = ''; |
|
|
|
|
|
|
|
$config = array( |
|
|
|
$config = array( |
|
|
|
'bundles' => $this->createBundleConfig($bundles), |
|
|
|
'bundles' => $this->createBundleConfig($bundles), |
|
|
|
'targets' => array( |
|
|
|
'targets' => array( |
|
|
@ -106,7 +105,7 @@ class AssetControllerTest extends TestCase |
|
|
|
), |
|
|
|
), |
|
|
|
'assetManager' => array( |
|
|
|
'assetManager' => array( |
|
|
|
'basePath' => $this->testAssetsBasePath, |
|
|
|
'basePath' => $this->testAssetsBasePath, |
|
|
|
'baseUrl' => $baseUrl, |
|
|
|
'baseUrl' => '', |
|
|
|
), |
|
|
|
), |
|
|
|
); |
|
|
|
); |
|
|
|
return $config; |
|
|
|
return $config; |
|
|
|