public function uninstall() { $this->configuration->uninstall(); foreach (self::getScopes() as $scope) { $tracking = new Dao\LogTable($scope); $tracking->uninstall(); } Cache::clearCacheGeneral(); $this->isInstalled = false; }
/** * @expectedException \Zend_Db_Statement_Exception * @expectedExceptionMessage custom_dimensions */ public function test_shouldBeAbleToUninstallConfigTable() { $this->config->uninstall(); try { DbHelper::getTableColumns($this->tableName); // doesn't work anymore as table was removed } catch (Zend_Db_Statement_Exception $e) { $this->config->install(); throw $e; } $this->config->install(); }