Example #1
0
 /**
  * @Given /^(product "[^"]+") belongs to ("[^"]+" tax category)$/
  */
 public function productBelongsToTaxCategory(ProductInterface $product, TaxCategoryInterface $taxCategory)
 {
     $product->setTaxCategory($taxCategory);
     $this->productManager->flush($product);
 }
Example #2
0
 /**
  * @Given /^(product "[^"]+") belongs to ("[^"]+" tax category)$/
  */
 public function productBelongsToTaxCategory(ProductInterface $product, TaxCategoryInterface $taxCategory)
 {
     $product->setTaxCategory($taxCategory);
 }