Browse Source

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

tags/2.0.0-beta
Klimov Paul 12 years ago
parent
commit
4695362ae2
  1. 5
      tests/unit/framework/console/controllers/AssetControllerTest.php

5
tests/unit/framework/console/controllers/AssetControllerTest.php

@ -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;

Loading…
Cancel
Save