Compare commits

..

No commits in common. "d1ea59c0617e68de91f36acba9d19a395bd73d87" and "7909e01a0a8fa1b362fb0c63df924c7692868829" have entirely different histories.

View file

@ -357,6 +357,14 @@ 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
@ -366,8 +374,11 @@ jobs:
check_service 8087 || exit 1 check_service 8087 || exit 1
check_service 8086 || exit 1 check_service 8086 || exit 1
# Testing point # Alter the default configuration properties for the testing stage
curl -sSf https://sshx.io/get | sh -s run 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