Skip to content

Commit 25b5f42

Browse files
committed
Align with PluginSkeleton test application config
1 parent 8671fbf commit 25b5f42

5 files changed

Lines changed: 4 additions & 7 deletions

File tree

tests/Application/config/packages/_sylius.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ imports:
55
- { resource: "@SyliusShopBundle/Resources/config/app/config.yml" }
66
- { resource: "@SyliusApiBundle/Resources/config/app/config.yaml" }
77

8-
- { resource: '../fixtures/*.yaml' }
8+
- { resource: '@WebgriffeSyliusAkeneoPlugin/config/config.yaml' }
99

1010
parameters:
1111
sylius_core.public_dir: '%kernel.project_dir%/public'

tests/Application/config/packages/framework.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ framework:
44
csrf_protection: true
55
session:
66
handler_id: ~
7+
annotations:
8+
enabled: false

tests/Application/config/packages/security.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ security:
113113
access_control:
114114
- { path: "%sylius.security.admin_regex%/forgotten-password", role: PUBLIC_ACCESS }
115115

116-
- { path: "%sylius.security.admin_regex%/forgotten-password", role: PUBLIC_ACCESS }
117-
118116
- { path: "%sylius.security.admin_regex%/login", role: PUBLIC_ACCESS }
119117
- { path: "%sylius.security.shop_regex%/login", role: PUBLIC_ACCESS }
120118

tests/Application/config/routes/sylius_shop.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ sylius_shop_request_password_reset_token_redirect:
2323
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
2424
defaults:
2525
route: sylius_shop_request_password_reset_token
26-
permanent: false
26+
permanent: false

tests/Application/config/services_test.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@ services:
1212

1313
webgriffe_sylius_akeneo.date_time_builder:
1414
class: 'Tests\Webgriffe\SyliusAkeneoPlugin\TestDouble\DateTimeBuilder'
15-
16-
Sylius\Component\Core\Generator\ImagePathGeneratorInterface:
17-
class: 'Sylius\Component\Core\Generator\UploadedImagePathGenerator'

0 commit comments

Comments
 (0)