public function __destruct() { parent::__destruct(); foreach ($this->original_locales as $file => $content) { file_put_contents($file, $content); } }
public function __construct() { parent::__construct(); Mock::generate('AkActiveRecord'); Mock::generate('AkActionController'); Mock::generate('AkRequest'); $this->testing_url_path = AK_ASSET_URL_PREFIX; }
public function __construct() { $this->webserver_enabled = AkConfig::getOption('webserver_enabled', false); parent::__construct(); $this->_test_script = AkConfig::getOption('testing_url') . '/action_pack/public/index.php?custom_routes=restful&ak='; }