Skip to content

Commit ea0294f

Browse files
committed
Fix phpunit test not completing when run in container
1 parent e46e9cf commit ea0294f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/script.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ if [[ "${?}" -ne 0 ]]; then
1212
((errors++))
1313
fi
1414

15+
# Let test server know we should allow testing.
16+
export PHP_CURL_CLASS_TEST_MODE_ENABLED="yes"
17+
1518
# Run tests.
1619
phpunit --version
1720
phpunit --configuration "tests/phpunit.xml"

0 commit comments

Comments
 (0)