Skip to content

Commit 6dbdc63

Browse files
committed
Prevent double _test database suffix
1 parent 96a8af2 commit 6dbdc63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/jobs/unit-tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ cp webapp/composer.json /opt/domjudge/domserver/webapp/
2525

2626
cd /opt/domjudge/domserver
2727

28+
# The tests add a '_test' suffix to the database name already.
29+
sed -i "s!:domjudge_test:!:domjudge:!" /opt/domjudge/domserver/etc/dbpasswords.secret
30+
2831
# Run phpunit tests.
2932
pcov=""
3033
phpcov=""

0 commit comments

Comments
 (0)