예제 #1
0
 /**
  * Helper function that tears down some default rules
  */
 private function tearDownDefaultRules()
 {
     if ($this->taxRules) {
         $this->taxRuleFixtureFactory->deleteTaxRules(array_values($this->taxRules));
     }
     if ($this->taxRates) {
         $this->taxRuleFixtureFactory->deleteTaxRates(array_values($this->taxRates));
     }
     if ($this->taxClasses) {
         $this->taxRuleFixtureFactory->deleteTaxClasses(array_values($this->taxClasses));
     }
 }
예제 #2
0
파일: TaxTest.php 프로젝트: aiesh/magento2
 /**
  * Helper function that tears down some default rules
  */
 public function tearDown()
 {
     $this->taxRuleFixtureFactory->deleteTaxRules(array_values($this->taxRules));
     $this->taxRuleFixtureFactory->deleteTaxRates(array_values($this->taxRates));
     $this->taxRuleFixtureFactory->deleteTaxClasses(array_values($this->taxClasses));
 }