Skip to content

Commit

Permalink
Apply suggested changes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometee committed May 4, 2022
1 parent de86a6c commit 69a7ebe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Sylius/Behat/Client/ApiPlatformSecurityClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ final class ApiPlatformSecurityClient implements ApiSecurityClientInterface

public function __construct(
private AbstractBrowser $client,
private SharedStorageInterface $sharedStorage,
private string $apiUrlPrefix,
private string $section,
private SharedStorageInterface $sharedStorage
) {
}

Expand Down
4 changes: 2 additions & 2 deletions src/Sylius/Behat/Resources/config/services/api.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@

<service id="sylius.behat.client.admin_api_platform_security_client" class="Sylius\Behat\Client\ApiPlatformSecurityClient">
<argument type="service" id="test.client" />
<argument type="service" id="sylius.behat.shared_storage" />
<argument>%sylius.security.new_api_route%</argument>
<argument>admin</argument>
<argument type="service" id="sylius.behat.shared_storage" />
</service>

<service id="sylius.behat.client.shop_api_platform_security_client" class="Sylius\Behat\Client\ApiPlatformSecurityClient">
<argument type="service" id="test.client" />
<argument type="service" id="sylius.behat.shared_storage" />
<argument>%sylius.security.new_api_route%</argument>
<argument>shop</argument>
<argument type="service" id="sylius.behat.shared_storage" />
</service>

<service id="sylius.behat.content_type_guide" class="Sylius\Behat\Client\ContentTypeGuide" />
Expand Down

0 comments on commit 69a7ebe

Please sign in to comment.