diff --git a/tests/running.bats b/tests/running.bats index b77ae9e..6e3f825 100644 --- a/tests/running.bats +++ b/tests/running.bats @@ -10,5 +10,9 @@ load ../common } @test "Creates shibboleth database" { + echo 'select * from version;' | docker exec -i $imagename psql -U postgres $postgres_db +} +@test "Shibboleth user can access shibboleth database" { + echo 'select * from version;' | docker exec -i $imagename psql -U shibboleth $postgres_db } \ No newline at end of file