Example #1
0
 function __construct()
 {
     $this->dropTables('all');
     AkUnitTestSuite::cleanupTmpDir();
     $Config = new AkConfig();
     $Config->clearStaticCache('database');
     parent::__construct();
 }
Example #2
0
 public function __destruct()
 {
     if (!ADMIN_PLUGIN_RUNNING_ON_APPLICATION_SCOPE) {
         AdminPluginInstaller::setTokenKey('some long and random secret value to avoid being hacked, used for login urls and API calls');
     }
     parent::__destruct();
     AkUnitTestSuite::cleanupTmpDir();
     $this->dropTables('all');
 }
Example #3
0
 public function __destruct()
 {
     parent::__destruct();
     AkUnitTestSuite::cleanupTmpDir();
     $this->dropTables('all');
 }
Example #4
0
 public function __destruct()
 {
     parent::__destruct();
     AkUnitTestSuite::cleanupTmpDir();
 }