From 73e95c37349241d74836d7dd4d9d79df846d7388 Mon Sep 17 00:00:00 2001 From: Jim Van Fleet Date: Wed, 12 Jul 2017 14:52:06 -0400 Subject: [PATCH] Running tests --- tests/running.bats | 4 ++++ 1 file changed, 4 insertions(+) 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