mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-10 01:07:45 +01:00
fix failing test in Windows env
This commit is contained in:
@@ -19,7 +19,7 @@ class ModuleTest extends TestCase
|
||||
{
|
||||
$module = new TestModule('test');
|
||||
$this->assertEquals('yiiunit\framework\base\controllers', $module->controllerNamespace);
|
||||
$this->assertEquals(__DIR__ . '/controllers', $module->controllerPath);
|
||||
$this->assertEquals(__DIR__ . DIRECTORY_SEPARATOR . 'controllers', str_replace(['/','\\'], DIRECTORY_SEPARATOR , $module->controllerPath));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user