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

Loading…
Cancel
Save