public function init()
{
parent::setUp();
$this->user = UserModel::fromArray(array('lastname' => 'Test', 'firstname' => 'Test', 'email' => '[email protected]', 'login' => 'test-user-model', 'user_acl_role_id' => 1, 'active' => true));
$this->user->setPassword('test-user-model-password');
$this->user->save();
$this->user->authenticate('test-user-model', 'test-user-model-password');
$configuration = (include GC_APPLICATION_PATH . '/config/application.config.php');
$configuration['module_listener_options']['config_glob_paths'] = array('tests/config/local.php');
$this->setApplicationConfig($configuration);
}