예제 #1
0
 /**
  * @Given the store does not have any zones defined
  */
 public function theStoreDoesNotHaveAnyZonesDefined()
 {
     $zones = $this->zoneRepository->findAll();
     foreach ($zones as $zone) {
         $this->zoneRepository->remove($zone);
     }
 }
예제 #2
0
 /**
  * @Given /^the store ships everywhere for free$/
  */
 public function theStoreShipsEverywhereForFree()
 {
     foreach ($this->zoneRepository->findAll() as $zone) {
         $this->createShippingMethod('Free', null, $zone);
     }
 }