From ccd50bca7a61c24391b731eff556b1c037fd2fb3 Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Wed, 3 Jan 2024 21:59:56 +0100 Subject: [PATCH] Move enabling fosuser_registration in tests to config_test.yml --- app/config/config_test.yml | 3 +++ app/config/parameters_test.yml | 1 - app/config/tests/parameters_test.mysql.yml | 1 - app/config/tests/parameters_test.pgsql.yml | 1 - app/config/tests/parameters_test.sqlite.yml | 1 - 5 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/config/config_test.yml b/app/config/config_test.yml index d738a49d6..0b9a738d2 100644 --- a/app/config/config_test.yml +++ b/app/config/config_test.yml @@ -3,6 +3,9 @@ imports: - { resource: parameters_test.yml } - { resource: services_test.yml } +parameters: + fosuser_registration: true + framework: test: ~ session: diff --git a/app/config/parameters_test.yml b/app/config/parameters_test.yml index 9800b2605..257d2acec 100644 --- a/app/config/parameters_test.yml +++ b/app/config/parameters_test.yml @@ -8,4 +8,3 @@ parameters: test_database_path: "%env(TEST_DATABASE_PATH)%" env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite" test_database_charset: utf8 - fosuser_registration: true diff --git a/app/config/tests/parameters_test.mysql.yml b/app/config/tests/parameters_test.mysql.yml index 9c6eebc97..d07d09256 100644 --- a/app/config/tests/parameters_test.mysql.yml +++ b/app/config/tests/parameters_test.mysql.yml @@ -8,4 +8,3 @@ parameters: test_database_path: ~ env(TEST_DATABASE_PATH): ~ test_database_charset: utf8mb4 - fosuser_registration: true diff --git a/app/config/tests/parameters_test.pgsql.yml b/app/config/tests/parameters_test.pgsql.yml index e5f87fdd5..2be37aa14 100644 --- a/app/config/tests/parameters_test.pgsql.yml +++ b/app/config/tests/parameters_test.pgsql.yml @@ -8,4 +8,3 @@ parameters: test_database_path: ~ env(TEST_DATABASE_PATH): ~ test_database_charset: utf8 - fosuser_registration: true diff --git a/app/config/tests/parameters_test.sqlite.yml b/app/config/tests/parameters_test.sqlite.yml index 30f11e115..873d107d9 100644 --- a/app/config/tests/parameters_test.sqlite.yml +++ b/app/config/tests/parameters_test.sqlite.yml @@ -10,4 +10,3 @@ parameters: test_database_path: "%env(TEST_DATABASE_PATH)%" env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite" test_database_charset: utf8 - fosuser_registration: true