Skip to content

Commit

Permalink
[CatalogPromotion][Behat] Remove unused step definition
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Sep 9, 2021
1 parent 97b4e81 commit 9092c4d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Sylius/Behat/Context/Setup/CatalogPromotionContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,6 @@ public function thereAreCatalogPromotionsNamed(string ...$names): void
$this->entityManager->flush();
}

/**
* @Given /^there is a catalog promotion "([^"]+)" available in ("[^"]+" channel)$/
*/
public function thereIsACatalogPromotionAvailableInChannel(string $name, ChannelInterface $channel): void
{
$catalogPromotion = $this->createCatalogPromotion($name);
$catalogPromotion->addChannel($channel);

$this->entityManager->flush();
}

/**
* @Given the catalog promotion :catalogPromotion is available in :channel
*/
Expand Down

0 comments on commit 9092c4d

Please sign in to comment.