# HG changeset patch # User Tom Gottfried # Date 1532515023 -7200 # Node ID e9382dccb3319d8678b3f4e9a4246957ec488513 # Parent cfde876fbaf9cd1ebc1c3065dfdc82e16576f7db Drop roles created in tests, too Fixup of rev. cfde876fbaf9: Roles created in tests have to be dropped in order to keep tests repeatable. diff -r cfde876fbaf9 -r e9382dccb331 schema/run_tests.sh --- 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 \