tests: fixup the previous commit
authorDenis Ovsienko <denis@ovsienko.info>
Mon, 14 Jan 2019 22:29:21 +0000 (22:29 +0000)
committerDenis Ovsienko <denis@ovsienko.info>
Mon, 14 Jan 2019 22:29:21 +0000 (22:29 +0000)
tests/express.sh

index 1415cd5..7feb8c2 100755 (executable)
@@ -95,6 +95,7 @@ echo
 cd "$BASEDIR/tests"
 "$PHPUNIT_BIN" --group small --bootstrap $BOOTSTRAP_FILE || exit 1
 
+cd "$BASEDIR/wwwroot"
 # PHPUnit would fail if this was not a unit testing database, hence
 # at this point is is OK to let the scripts below make changes.
 echo 'Testing cleanup_ldap_cache.php'; ../scripts/cleanup_ldap_cache.php || exit 1