Browse Source

Fixes #1685: UrlManager::showScriptName should be set true for tests.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
e16c4858e0
  1. 3
      apps/basic/tests/acceptance/_config.php
  2. 3
      apps/basic/tests/functional/_config.php

3
apps/basic/tests/acceptance/_config.php

@ -9,5 +9,8 @@ return ArrayHelper::merge($config, [
'db' => [ 'db' => [
'dsn' => 'mysql:host=localhost;dbname=yii2_basic_acceptance', 'dsn' => 'mysql:host=localhost;dbname=yii2_basic_acceptance',
], ],
'urlManager' => [
'showScriptName' => true,
],
], ],
]); ]);

3
apps/basic/tests/functional/_config.php

@ -13,5 +13,8 @@ return ArrayHelper::merge($config, [
'db' => [ 'db' => [
'dsn' => 'mysql:host=localhost;dbname=yii2_basic_functional', 'dsn' => 'mysql:host=localhost;dbname=yii2_basic_functional',
], ],
'urlManager' => [
'showScriptName' => true,
],
], ],
]); ]);

Loading…
Cancel
Save