File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ unittest=$2
1414export unit=1
1515
1616# Add team to admin user
17- echo " UPDATE user SET teamid = 1 WHERE userid = 1;" | mysql domjudge_test
17+ mysql_log " UPDATE user SET teamid = 1 WHERE userid = 1;" domjudge_test
1818
1919# Copy the .env.test file, as this is normally not done during
2020# installation and we need it.
@@ -33,7 +33,6 @@ if [ "$CODECOVERAGE" -eq 1 ]; then
3333 pcov=" --coverage-html=${DIR} /coverage-html --coverage-clover coverage.xml"
3434fi
3535set +e
36- echo " unused:sqlserver:domjudge:domjudge:domjudge:3306" > /opt/domjudge/domserver/etc/dbpasswords.secret
3736php $phpcov webapp/bin/phpunit -c webapp/phpunit.xml.dist webapp/tests/$unittest --log-junit ${ARTIFACTS} /unit-tests.xml --colors=never $pcov | tee " $ARTIFACTS " /phpunit.out
3837UNITSUCCESS=$?
3938
You can’t perform that action at this time.
0 commit comments