mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
ECS fixes (#19043)
Some checks are pending
Continuous Integration (Minimal) / Static checks (push) Waiting to run
Continuous Integration (Minimal) / Tests (MariaDB) (push) Blocked by required conditions
Continuous Integration (Minimal) / Tests (MySQL) (push) Blocked by required conditions
Continuous Integration (Minimal) / Javascript Tests (MySQL) (push) Blocked by required conditions
Continuous Integration (Minimal) / Tests (PostgreSQL) (push) Blocked by required conditions
Continuous Integration (Minimal) / Frontend (push) Blocked by required conditions
Continuous Integration (Minimal) / Packages (push) Blocked by required conditions
Some checks are pending
Continuous Integration (Minimal) / Static checks (push) Waiting to run
Continuous Integration (Minimal) / Tests (MariaDB) (push) Blocked by required conditions
Continuous Integration (Minimal) / Tests (MySQL) (push) Blocked by required conditions
Continuous Integration (Minimal) / Javascript Tests (MySQL) (push) Blocked by required conditions
Continuous Integration (Minimal) / Tests (PostgreSQL) (push) Blocked by required conditions
Continuous Integration (Minimal) / Frontend (push) Blocked by required conditions
Continuous Integration (Minimal) / Packages (push) Blocked by required conditions
| Q | A |-----------------|----- | Branch? | 2.3 | Bug fix? | no | New feature? | no | BC breaks? | no | License | MIT
This commit is contained in:
commit
297e5a06ba
327 changed files with 895 additions and 737 deletions
|
|
@ -93,7 +93,7 @@ interface ResponseCheckerInterface
|
|||
|
||||
public function hasViolationWithMessage(Response $response, string $message, ?string $property = null): bool;
|
||||
|
||||
public function appendError(Response $response): ResponseCheckerInterface;
|
||||
public function appendError(Response $response): self;
|
||||
|
||||
public function cleanErrors(): void;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,11 +13,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
use Sylius\Component\Core\Formatter\StringInflector;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Component\Core\Model\ChannelInterface;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin\Helper;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Component\Core\Formatter\StringInflector;
|
||||
use Webmozart\Assert\Assert;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiSecurityClientInterface;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
use Symfony\Component\BrowserKit\Exception\BadMethodCallException;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestBuilder;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Service\Converter\IriConverterInterface;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestFactoryInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Ramsey\Uuid\Uuid;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestBuilder;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,11 +13,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
use Sylius\Component\Core\Model\ChannelInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestBuilder;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestFactoryInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestBuilder;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestFactoryInterface;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Admin;
|
||||
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Webmozart\Assert\Assert;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Common;
|
||||
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Webmozart\Assert\Assert;
|
||||
|
|
|
|||
|
|
@ -13,11 +13,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api;
|
||||
|
||||
use Behat\Hook\AfterStep;
|
||||
use Behat\Hook\AfterScenario;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Behat\Hook\Scope\AfterScenarioScope;
|
||||
use Behat\Behat\Hook\Scope\AfterStepScope;
|
||||
use Behat\Hook\AfterScenario;
|
||||
use Behat\Hook\AfterStep;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
|
||||
use Symfony\Component\Console\Output\ConsoleOutput;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api;
|
||||
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Sylius\Behat\Service\Checker\EmailCheckerInterface;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
use Sylius\Component\Core\Model\OrderInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop\Checkout;
|
||||
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestFactoryInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop\Checkout;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestFactoryInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestFactoryInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Doctrine\Persistence\ObjectManager;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,11 +13,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ApiSecurityClientInterface;
|
||||
use Sylius\Behat\Client\RequestFactoryInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestFactoryInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\Request;
|
||||
use Sylius\Behat\Client\RequestFactoryInterface;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Doctrine\Persistence\ObjectManager;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Context\Api\Resources;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\RequestFactoryInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Api\Shop;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use ApiPlatform\Metadata\IriConverterInterface;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Doctrine\Persistence\ObjectManager;
|
||||
use Sylius\Behat\Client\ApiClientInterface;
|
||||
use Sylius\Behat\Client\ResponseCheckerInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Cli;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Component\Core\OrderPaymentStates;
|
||||
use Sylius\Component\Core\Repository\OrderRepositoryInterface;
|
||||
use Symfony\Bundle\FrameworkBundle\Console\Application;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Cli;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Context\Ui\Admin\Helper\SecurePasswordTrait;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
use Sylius\Component\Core\Model\AdminUserInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Cli;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\When;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Sylius\Bundle\CoreBundle\Console\Command\InstallSampleDataCommand;
|
||||
use Sylius\Bundle\CoreBundle\Console\Command\SetupCommand;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Domain;
|
||||
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Doctrine\Persistence\ObjectManager;
|
||||
use Sylius\Component\Core\Model\OrderInterface;
|
||||
use Sylius\Component\Order\Remover\ExpiredCartsRemoverInterface;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Domain;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Doctrine\Persistence\ObjectManager;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
use Sylius\Component\Core\Model\AdjustmentInterface;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Domain;
|
||||
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Sylius\Component\Core\Repository\PaymentRepositoryInterface;
|
||||
use Sylius\Component\Payment\Model\PaymentMethodInterface;
|
||||
use Webmozart\Assert\Assert;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Domain;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Bundle\CoreBundle\PriceHistory\Remover\ChannelPricingLogEntriesRemoverInterface;
|
||||
use Sylius\Component\Core\Model\ChannelPricingInterface;
|
||||
use Sylius\Component\Core\Model\ProductInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Domain;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Doctrine\DBAL\Exception as DBALException;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
use Sylius\Component\Core\Model\ProductInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Domain;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
use Sylius\Component\Core\Model\PromotionInterface;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Domain;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
|
||||
use Doctrine\Persistence\ObjectManager;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Domain;
|
||||
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Sylius\Component\Core\Repository\ShipmentRepositoryInterface;
|
||||
use Sylius\Component\Shipping\Model\ShippingMethodInterface;
|
||||
use Webmozart\Assert\Assert;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Domain;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
use Behat\Step\When;
|
||||
use Doctrine\Persistence\ObjectManager;
|
||||
use Sylius\Component\Shipping\Model\ShippingMethodInterface;
|
||||
use Sylius\Resource\Doctrine\Persistence\RepositoryInterface;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Domain;
|
||||
|
||||
use Behat\Step\Then;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Then;
|
||||
|
||||
final class NotificationContext implements Context
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Domain;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
|
||||
final class SecurityContext implements Context
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Hook;
|
||||
|
||||
use Behat\Hook\BeforeScenario;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Hook\BeforeScenario;
|
||||
use Symfony\Contracts\Cache\CacheInterface;
|
||||
|
||||
final class CacheContext implements Context
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Hook;
|
||||
|
||||
use Behat\Hook\AfterScenario;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Hook\AfterScenario;
|
||||
|
||||
final class CalendarContext implements Context
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Hook;
|
||||
|
||||
use Behat\Hook\BeforeScenario;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Hook\BeforeScenario;
|
||||
use Doctrine\Common\DataFixtures\Purger\ORMPurger;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Hook;
|
||||
|
||||
use Behat\Hook\AfterScenario;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Hook\AfterScenario;
|
||||
|
||||
final class GuestCartContext implements Context
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Hook;
|
||||
|
||||
use Behat\Hook\BeforeScenario;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Hook\BeforeScenario;
|
||||
use Psr\Cache\CacheItemPoolInterface;
|
||||
|
||||
final class MailerContext implements Context
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Hook;
|
||||
|
||||
use Behat\Hook\BeforeScenario;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Hook\BeforeScenario;
|
||||
use Symfony\Component\HttpFoundation\Exception\SessionNotFoundException;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Hook;
|
||||
|
||||
use Behat\Hook\BeforeScenario;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Hook\BeforeScenario;
|
||||
use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface;
|
||||
|
||||
final class TestThemeContext implements Context
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Hybrid\Setup;
|
||||
|
||||
use Behat\Step\When;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\When;
|
||||
use Sylius\Behat\Context\Api\Shop\CartContext as ApiShopCartContext;
|
||||
use Sylius\Behat\Context\Ui\Shop\CartContext as UiCartContext;
|
||||
use Sylius\Component\Core\Model\ProductInterface;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Hybrid\Setup;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Sylius\Behat\Context\Setup\ShopSecurityContext;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Setup;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Doctrine\Persistence\ObjectManager;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
use Sylius\Component\Core\Model\AddressInterface;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Behat\Context\Setup;
|
||||
|
||||
use Behat\Step\Given;
|
||||
use Behat\Behat\Context\Context;
|
||||
use Behat\Step\Given;
|
||||
use Sylius\Behat\Service\SecurityServiceInterface;
|
||||
use Sylius\Behat\Service\SharedStorageInterface;
|
||||
use Sylius\Bundle\CoreBundle\Fixture\Factory\ExampleFactoryInterface;
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue