Mercurial > gemma
comparison schema/run_tests.sh @ 247:946baea3d280
Add view to list user profiles with role
To be able to GRANT privileges ON ALL TABLES IN SCHEMA,
use auth.sql last during database setup.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 26 Jul 2018 19:33:42 +0200 |
parents | 299568ad3c37 |
children | 92470caf81fd |
comparison
equal
deleted
inserted
replaced
246:299568ad3c37 | 247:946baea3d280 |
---|---|
13 | 13 |
14 # Drop test roles, add test data and run tests | 14 # Drop test roles, add test data and run tests |
15 psql -qXv ON_ERROR_STOP= -v -d gemma_test \ | 15 psql -qXv ON_ERROR_STOP= -v -d gemma_test \ |
16 -c "DROP ROLE IF EXISTS $TEST_ROLES" \ | 16 -c "DROP ROLE IF EXISTS $TEST_ROLES" \ |
17 -f tap_tests_data.sql \ | 17 -f tap_tests_data.sql \ |
18 -c 'SELECT plan(35)' \ | 18 -c 'SELECT plan(36)' \ |
19 -f auth_tests.sql \ | 19 -f auth_tests.sql \ |
20 -f manage_users_tests.sql \ | 20 -f manage_users_tests.sql \ |
21 -c 'SELECT * FROM finish()' | 21 -c 'SELECT * FROM finish()' |