Hi guys,
I was wondering if there is a quick way to reinitialize the web application’s components from a config file after the initial construction. I change components during testing and it carries over to the rest of the tests.
I was thinking something like :
$config = dirname(__FILE__).'/../config/server.test.php';
$config = require($config);
Yii::app()->configure($config);
Thanks!