changeset 223:e9382dccb331

Drop roles created in tests, too Fixup of rev. cfde876fbaf9: Roles created in tests have to be dropped in order to keep tests repeatable.
author Tom Gottfried <tom@intevation.de>
date Wed, 25 Jul 2018 12:37:03 +0200
parents cfde876fbaf9
children 57dfab80973c
files schema/run_tests.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/schema/run_tests.sh	Wed Jul 25 11:59:10 2018 +0200
+++ b/schema/run_tests.sh	Wed Jul 25 12:37:03 2018 +0200
@@ -12,7 +12,7 @@
 # Add test data, run tests and ROLLBACK to prevent test roles to stay
 # in cluster, which would prevent tests from being repeatable
 psql -qXv ON_ERROR_STOP= -v -d gemma_test \
-    -c 'DROP ROLE IF EXISTS user_at, user_ro, admin_at, sys_admin1' \
+    -c 'DROP ROLE IF EXISTS user_at, user_ro, admin_at, sys_admin1, test1' \
     -f tap_tests_data.sql \
     -c 'SELECT plan(23)' \
     -f auth_tests.sql \