From 5ce4fb57825006783e80dc649833d2d65c9aeb87 Mon Sep 17 00:00:00 2001 From: arti0090 Date: Tue, 1 Jun 2021 10:39:50 +0200 Subject: [PATCH] Change mink-debug-extension and remove unneded params --- behat.yml.dist | 2 +- composer.json | 2 +- tests/Application/config/packages/security.yaml | 11 ----------- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/behat.yml.dist b/behat.yml.dist index e44792f2d..809356629 100644 --- a/behat.yml.dist +++ b/behat.yml.dist @@ -6,7 +6,7 @@ default: extensions: DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~ - Lakion\Behat\MinkDebugExtension: + FriendsOfBehat\MinkDebugExtension: directory: etc/build clean_start: false screenshot: true diff --git a/composer.json b/composer.json index 736d716fa..8c472f5f5 100644 --- a/composer.json +++ b/composer.json @@ -34,12 +34,12 @@ "friends-of-behat/mink": "^1.8", "friends-of-behat/mink-browserkit-driver": "^1.3", "friends-of-behat/mink-extension": "^2.3", + "friends-of-behat/mink-debug-extension": "^2.0", "friends-of-behat/page-object-extension": "^0.3", "friends-of-behat/suite-settings-extension": "^1.0", "friends-of-behat/symfony-extension": "^2.1", "friends-of-behat/variadic-extension": "^1.3", "friendsofsymfony/oauth-server-bundle": "^1.6 || >2.0.0-alpha.0 ^2.0@dev", - "lakion/mink-debug-extension": "^1.2.3", "matthiasnoback/symfony-config-test": "^4.0", "matthiasnoback/symfony-dependency-injection-test": "^4.1", "phpspec/phpspec": "^7.0", diff --git a/tests/Application/config/packages/security.yaml b/tests/Application/config/packages/security.yaml index 5615063a9..79a21e268 100644 --- a/tests/Application/config/packages/security.yaml +++ b/tests/Application/config/packages/security.yaml @@ -1,14 +1,3 @@ -parameters: - sylius.security.admin_regex: "^/%sylius_admin.path_name%" - sylius.security.api_regex: "^/api" - sylius.security.shop_regex: "^/(?!%sylius_admin.path_name%|new-api|api/.*|api$|media/.*)[^/]++" - sylius.security.new_api_route: "/new-api" - sylius.security.new_api_regex: "^%sylius.security.new_api_route%" - sylius.security.new_api_admin_route: "%sylius.security.new_api_route%/admin" - sylius.security.new_api_admin_regex: "^%sylius.security.new_api_admin_route%" - sylius.security.new_api_shop_route: "%sylius.security.new_api_route%/shop" - sylius.security.new_api_shop_regex: "^%sylius.security.new_api_shop_route%" - security: always_authenticate_before_granting: true providers: