diff --git a/ci/test/trilogy.bats b/ci/test/trilogy.bats index 3ccf326..916db3e 100644 --- a/ci/test/trilogy.bats +++ b/ci/test/trilogy.bats @@ -111,4 +111,10 @@ run_test_case() { [[ "$status" -eq 1 ]] echo "$output" [[ "$output" =~ "[FAIL] Invalid test case filename" ]] +} + +@test "unavailable driver in jdbc URL" { + DB_URL=jdbc:mysql://host1:33060/sakila run run_project setup_teardown + [[ "$status" -eq 1 ]] + [[ "$output" =~ "[FAIL] Unable to load the driver for URL jdbc:mysql://host1:33060/sakila. Please make sure the URL is correct, and the appropriate JDBC driver is installed." ]] } \ No newline at end of file