Commit 4695362a by Klimov Paul

Unit test for "yii\console\controllers\AssetController" has been adjusted.

parent 9f66abc9
...@@ -92,8 +92,7 @@ class AssetControllerTest extends TestCase ...@@ -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 ...@@ -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;
......
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