Remove configuration alteration for testing stage from ncc_workflow.yml

This commit is contained in:
netkas 2025-03-21 15:33:26 -04:00
parent 7909e01a0a
commit ba47ac3906
Signed by: netkas
GPG key ID: 4D8629441B76E4CC

View file

@ -357,14 +357,6 @@ jobs:
return 1 return 1
} }
chcfg() {
local variable_name=$1
local variable_value=$1
docker exec -it coffee_socialbox configlib --conf socialbox --prop="$variable_name" --val="$variable_value"
docker exec -it teapot_socialbox configlib --conf socialbox --prop="$variable_name" --val="$variable_value"
}
# Prepare the environment # Prepare the environment
chmod -R 777 tests/docker chmod -R 777 tests/docker
@ -374,12 +366,6 @@ jobs:
check_service 8087 || exit 1 check_service 8087 || exit 1
check_service 8086 || exit 1 check_service 8086 || exit 1
# Alter the default configuration properties for the testing stage
chcfg "registration.image_captcha_verification_required" "false"
chcfg "registration.accept_community_guidelines" "false"
chcfg "registration.accept_terms_of_service" "false"
chcfg "registration.accept_privacy_policy" "false"
# Run the tests and tare down the test environment # 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 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 docker-compose -f docker-compose.test.yml down