예제 #1
0
 /**
  * @Given /^I set the updated date of the (product "([^"]+)") to "([^"]+)"$/
  */
 public function theProductUpdatedDateIs(ProductInterface $product, $identifier, $expected)
 {
     $product->setUpdated(new \DateTime($expected));
     $this->getProductSaver()->save($product, ['recalculate' => false]);
 }