Mercurial > gemma
comparison schema/run_tests.sh @ 262:92470caf81fd
Add database function to check password against policy
Though it is currently only used in sys_admin-exclusive
functions, it is exposed to normal users because there is
nothing to hide and users should be able to change (and
check) their password, too.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 27 Jul 2018 15:26:16 +0200 |
parents | 946baea3d280 |
children | 13ad969a9138 |
comparison
equal
deleted
inserted
replaced
261:ab9859981ee3 | 262:92470caf81fd |
---|---|
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(36)' \ | 18 -c 'SELECT plan(40)' \ |
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()' |