コード例 #1
0
 protected function tearDown()
 {
     parent::tearDown();
     $couponTable = Mage::getSingleton('core/resource')->getTableName('collpur/coupon');
     $write = Mage::getSingleton('core/resource')->getConnection('core_write');
     $write->truncate($couponTable);
 }
コード例 #2
0
ファイル: Sync.php プロジェクト: mSupply/runnable_test_repo
 protected function tearDown()
 {
     $collection = $this->getTestCronScheduleCollection();
     foreach ($collection as $item) {
         $item->delete();
     }
     parent::tearDown();
 }
コード例 #3
0
ファイル: Observer.php プロジェクト: shebin512/Magento_Zoff
 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();
 }
コード例 #4
0
 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();
 }
コード例 #5
0
ファイル: Config.php プロジェクト: mSupply/runnable_test_repo
 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();
 }
コード例 #6
0
 /**
  * Unset everything before the next test.
  */
 protected function tearDown()
 {
     unset($this->object);
     parent::tearDown();
 }
コード例 #7
0
 public function tearDown()
 {
     parent::tearDown();
     $this->openInvoiceNlModel = null;
 }
コード例 #8
0
 /**
  * Unset everything before the next test.
  */
 protected function tearDown()
 {
     $this->object->delete();
     unset($this->object);
     parent::tearDown();
 }
コード例 #9
0
 /**
  * Enables events back
  */
 protected function tearDown()
 {
     parent::tearDown();
     $this->app()->enableEvents();
 }
コード例 #10
0
 protected function tearDown()
 {
     $this->_removeAttribute();
     parent::tearDown();
 }
コード例 #11
0
 protected function tearDown()
 {
     $resource = Mage::getModel("core/resource");
     $resource->getConnection("core_write")->delete($resource->getTableName("klevu_search/notification"));
     parent::tearDown();
 }
コード例 #12
0
ファイル: Config.php プロジェクト: aligent/cacheobserver
 protected function tearDown()
 {
     parent::tearDown();
     Mage::unregister('_singleton/cacheobserver/config');
 }
コード例 #13
0
ファイル: Symlink.php プロジェクト: demon-tdr/Symlink-Cache
 public function tearDown()
 {
     $backend = new Netzarbeiter_Cache_Model_Symlink($this->_options);
     $backend->clean();
     parent::tearDown();
 }