Skip to content

Commit

Permalink
[#766] Remove redundant datastore_test psql user creation
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorbaptista committed Oct 17, 2013
1 parent 3a60c2e commit 1aee242
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/travis-install-dependencies
Expand Up @@ -46,8 +46,7 @@ paster db init -c test-core.ini
# If Postgres >= 9.0, we don't need to use datastore's legacy mode.
if [ $PGVERSION != '8.4' ]
then
psql -c 'CREATE USER datastore_default;' -U postgres
sed -i -e 's/.*datastore.read_url.*/ckan.datastore.read_url = postgresql:\/\/datastore_default@\/datastore_test/' test-core.ini
sed -i -e 's/.*datastore.read_url.*/ckan.datastore.read_url = postgresql:\/\/datastore_default:pass@\/datastore_test/' test-core.ini
paster datastore set-permissions postgres -c test-core.ini
else
sed -i -e 's/.*datastore.read_url.*//' test-core.ini
Expand Down

0 comments on commit 1aee242

Please sign in to comment.