Skip to content

Commit

Permalink
Dev: Reset test to use config method
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Jun 12, 2018
1 parent 9dd6a1f commit aca49b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/controllers/InstallationControllerTest.php
Expand Up @@ -160,9 +160,9 @@ public function testBasic()
*/

// Reset urlManager to adapt to latest config.
// $config = require($configFile);
$config = require($configFile);
$urlMan = \Yii::app()->urlManager;
$urlMan->setUrlFormat('get');
$urlMan->setUrlFormat($config['components']['urlManager']['urlFormat']);

// Login.
self::adminLogin($username, $password);
Expand Down

0 comments on commit aca49b4

Please sign in to comment.