test_server/config/packages/framework.yaml

22 lines
662 B
YAML

# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
http_method_override: false
handle_all_throwables: true
# Note that the session will be started ONLY if you read or write from it.
session:
#cookie_domain: '.solutions-easy.moi'
cookie_samesite: lax # Use 'none' only with HTTPS
handler_id: null
cookie_secure: auto
storage_factory_id: session.storage.factory.native
#esi: true
#fragments: true
when@test:
framework:
test: true
session:
storage_factory_id: session.storage.factory.mock_file