This commit is contained in:
2025-03-21 20:24:43 +01:00
parent 224398df90
commit f34c9162d4
12427 changed files with 5329941 additions and 373384 deletions

View File

@@ -1,9 +1,14 @@
parameters:
AdapterSecurityAdminClass: Tests\PrestaShopBundle\Mock\AdapterSecurityAdminMock
prestashop.security.voter.product.class: Tests\PrestaShopBundle\Mock\PageVoter
AdapterSecurityAdminClass: LegacyTests\PrestaShopBundle\Mock\AdapterSecurityAdminMock
prestashop.security.voter.product.class: LegacyTests\PrestaShopBundle\Mock\PageVoter
resources_dir: "%kernel.project_dir%/tests/Resources"
test_translations_dir: "%resources_dir%/translations"
translations_theme_dir: "%resources_dir%/themes"
translations_modules_dir: "%resources_dir%/modules"
imports:
- { resource: config_dev.yml }
- { resource: "../../tests/Resources/config/services.yml" }
framework:
test: ~
@@ -13,12 +18,18 @@ framework:
collect: false
web_profiler:
toolbar: false
toolbar: '%use_debug_toolbar%'
intercept_redirects: true
swiftmailer:
disable_delivery: true
services:
prestashop.bundle.routing.converter.cache:
class: Symfony\Component\Cache\Adapter\ArrayAdapter
# Doctrine Configuration
doctrine:
dbal:
connections:
default:
dbname: "test_%database_name%"
orm:
metadata_cache_driver: "array"
query_cache_driver: "array"