mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[Behat] Update context to pass validation
This commit is contained in:
parent
3a519e8692
commit
d40ecdffc0
3 changed files with 4 additions and 5 deletions
|
|
@ -502,7 +502,7 @@ final class ManagingProductVariantsContext implements Context
|
|||
{
|
||||
Assert::same(
|
||||
$this->generatePage->getPricesValidationMessage($position - 1),
|
||||
'You must define price for every channel.',
|
||||
'You must define price for every enabled channel.',
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -524,7 +524,7 @@ final class ManagingProductVariantsContext implements Context
|
|||
{
|
||||
Assert::contains(
|
||||
$this->createPage->getPricesValidationMessage(),
|
||||
'You must define price for every channel.',
|
||||
'You must define price for every enabled channel.',
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -939,7 +939,7 @@ final class ManagingProductsContext implements Context
|
|||
{
|
||||
Assert::same(
|
||||
$this->createSimpleProductPage->getChannelPricingValidationMessage(),
|
||||
'You must define price for every channel.',
|
||||
'You must define price for every enabled channel.',
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,8 +26,7 @@ final class DeleteOrderItemAction
|
|||
public function __construct(
|
||||
private MessageBusInterface $commandBus,
|
||||
private OrderItemRepositoryInterface $orderItemRepository,
|
||||
)
|
||||
{
|
||||
) {
|
||||
}
|
||||
|
||||
public function __invoke(Request $request): Response
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue