Преглед на файлове

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

Qiang Xue преди 12 години
родител
ревизия
ab34eaa4f9
променени са 2 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 3 0
      tests/acceptance/_config.php
  2. 3 0
      tests/functional/_config.php

+ 3 - 0
tests/acceptance/_config.php

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

+ 3 - 0
tests/functional/_config.php

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