From a2e49deb04ef7d34c2a1cd2023188594980e514d Mon Sep 17 00:00:00 2001 From: netkas Date: Thu, 20 Mar 2025 21:06:32 -0400 Subject: [PATCH] Remove redundant configuration modifications from ncc_workflow.yml --- .github/workflows/ncc_workflow.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/ncc_workflow.yml b/.github/workflows/ncc_workflow.yml index b0d6ac2..a519507 100644 --- a/.github/workflows/ncc_workflow.yml +++ b/.github/workflows/ncc_workflow.yml @@ -356,12 +356,6 @@ jobs: echo "Error: Service on port $port not available after $max_attempts attempts" return 1 } - modify_config() { - local property=$1 - local value=$2 - docker exec -it coffee_socialbox configlib --conf socialbox --prop="$property" --val="$value" - docker exec -it teapot_socialbox configlib --conf socialbox --prop="$property" --val="$value" - } # Prepare phpunit wget https://phar.phpunit.de/phpunit-11.3.phar @@ -369,16 +363,6 @@ jobs: check_service 8087 || exit 1 check_service 8086 || exit 1 - # Configure the environment - modify_config "registration.accept_privacy_policy" "false" - modify_config "registration.accept_terms_of_service" "false" - modify_config "registration.accept_community_guidelines" "false" - modify_config "registration.image_captcha_verification_required" "false" - modify_config "authentication.image_captcha_verification_required" "false" - modify_config "policies.default_first_name_privacy" "PUBLIC" - modify_config "policies.default_middle_name_privacy" "PUBLIC" - modify_config "policies.default_last_name_privacy" "PUBLIC" - # Run the tests and tare down the test environment php phpunit-11.3.phar --configuration phpunit.xml --log-junit reports/junit.xml --log-teamcity reports/teamcity --testdox-html reports/testdox.html --testdox-text reports/testdox.txt docker-compose -f docker-compose.test.yml down