protected function tearDown() { parent::tearDown(); $couponTable = Mage::getSingleton('core/resource')->getTableName('collpur/coupon'); $write = Mage::getSingleton('core/resource')->getConnection('core_write'); $write->truncate($couponTable); }
protected function tearDown() { $collection = $this->getTestCronScheduleCollection(); foreach ($collection as $item) { $item->delete(); } parent::tearDown(); }
public function tearDown() { $collection = $this->getProductSyncCronScheduleCollection(); foreach ($collection as $item) { $item->delete(); } $resource = Mage::getModel("core/resource"); $resource->getConnection("core_write")->delete($resource->getTableName("klevu_search/order_sync")); parent::tearDown(); }
public function tearDown() { $collection = $this->getProductSyncCronScheduleCollection(); foreach ($collection as $item) { $item->delete(); } $resource = Mage::getModel("core/resource"); $resource->getConnection("core_write")->delete($resource->getTableName("klevu_search/order_sync")); EcomDev_Utils_Reflection::setRestrictedPropertyValue(Mage::getConfig(), "_classNameCache", array()); parent::tearDown(); }
protected function tearDown() { $this->getConfig()->deleteConfig("klevu_search/general/enabled"); $this->getConfig()->deleteConfig("klevu_search/general/js_api_key"); $this->getConfig()->deleteConfig("klevu_search/general/rest_api_key"); $this->getConfig()->deleteConfig("klevu_search/product_sync/enabled"); $this->getConfig()->deleteConfig("klevu_search/product_sync/frequency"); $this->getConfig()->deleteConfig("klevu_search/attributes/additional"); $this->getConfig()->deleteConfig("klevu_search/order_sync/enabled"); $this->getConfig()->deleteConfig("klevu_search/order_sync/frequency"); $this->getConfig()->deleteConfig("klevu_search/developer/force_log"); $this->getConfig()->deleteConfig("klevu_search/developer/log_level"); parent::tearDown(); }
/** * Unset everything before the next test. */ protected function tearDown() { unset($this->object); parent::tearDown(); }
public function tearDown() { parent::tearDown(); $this->openInvoiceNlModel = null; }
/** * Unset everything before the next test. */ protected function tearDown() { $this->object->delete(); unset($this->object); parent::tearDown(); }
/** * Enables events back */ protected function tearDown() { parent::tearDown(); $this->app()->enableEvents(); }
protected function tearDown() { $this->_removeAttribute(); parent::tearDown(); }
protected function tearDown() { $resource = Mage::getModel("core/resource"); $resource->getConnection("core_write")->delete($resource->getTableName("klevu_search/notification")); parent::tearDown(); }
protected function tearDown() { parent::tearDown(); Mage::unregister('_singleton/cacheobserver/config'); }
public function tearDown() { $backend = new Netzarbeiter_Cache_Model_Symlink($this->_options); $backend->clean(); parent::tearDown(); }