Commit 88c25245 by Klimov Paul

Test path composition in 'AssetControllerTest' adjusted

parent 02bd3540
...@@ -27,7 +27,7 @@ class AssetControllerTest extends TestCase ...@@ -27,7 +27,7 @@ class AssetControllerTest extends TestCase
public function setUp() public function setUp()
{ {
$this->mockApplication(); $this->mockApplication();
$this->testFilePath = Yii::getAlias('@yiiunit/runtime') . DIRECTORY_SEPARATOR . get_class($this); $this->testFilePath = Yii::getAlias('@yiiunit/runtime') . DIRECTORY_SEPARATOR . str_replace('\\', '_', get_class($this));
$this->createDir($this->testFilePath); $this->createDir($this->testFilePath);
$this->testAssetsBasePath = $this->testFilePath . DIRECTORY_SEPARATOR . 'assets'; $this->testAssetsBasePath = $this->testFilePath . DIRECTORY_SEPARATOR . 'assets';
$this->createDir($this->testAssetsBasePath); $this->createDir($this->testAssetsBasePath);
......
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