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