comparison schema/run_tests.sh @ 234:55dce2f649bc

Allow using the same email-address for multiple users This can be useful at least in testing scenarios, where one person wants to have multiple accounts with different roles and there is no other reason to enforce uniqueness.
author Tom Gottfried <tom@intevation.de>
date Thu, 26 Jul 2018 15:10:22 +0200
parents 4859aa6c96be
children 299568ad3c37
comparison
equal deleted inserted replaced
233:531d1f8a2b4b 234:55dce2f649bc
17 17
18 # Drop test roles, add test data and run tests 18 # Drop test roles, add test data and run tests
19 psql -qXv ON_ERROR_STOP= -v -d gemma_test \ 19 psql -qXv ON_ERROR_STOP= -v -d gemma_test \
20 -c "DROP ROLE IF EXISTS $TEST_ROLES" \ 20 -c "DROP ROLE IF EXISTS $TEST_ROLES" \
21 -f tap_tests_data.sql \ 21 -f tap_tests_data.sql \
22 -c 'SELECT plan(36)' \ 22 -c 'SELECT plan(35)' \
23 -f auth_tests.sql \ 23 -f auth_tests.sql \
24 -f manage_users_tests.sql \ 24 -f manage_users_tests.sql \
25 -c 'SELECT * FROM finish()' 25 -c 'SELECT * FROM finish()'