Exemplo n.º 1
0
 public function __destruct()
 {
     parent::__destruct();
     foreach ($this->original_locales as $file => $content) {
         file_put_contents($file, $content);
     }
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     Mock::generate('AkActiveRecord');
     Mock::generate('AkActionController');
     Mock::generate('AkRequest');
     $this->testing_url_path = AK_ASSET_URL_PREFIX;
 }
Exemplo n.º 3
0
 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=';
 }