Skip to content
Permalink
Browse files

Add a notice about service=qgis_test being used by some tests

  • Loading branch information
strk committed Jun 6, 2017
1 parent 7af47c2 commit 38d905f694b66f3e443ac74b29fe558b42b9e58c
Showing with 7 additions and 6 deletions.
  1. +7 −6 tests/README.md
@@ -50,16 +50,17 @@ To test the postgres provider you will need to have a database available to
which the postgres provider can connect. The server will need to have postgis
support enabled.

By default the test uses the following connection string:
By default the test uses one of the following connection string:

dbname=qgis_test
service=qgis_test

If this does not match your setup you can set the environment variable
`QGIS_PGTEST_DB` to the desired connection string, or you can rely
on standard libpq environment variables to tweak host, port user and
password (PGHOST, PGPORT, PGUSER, PGPASSWORD).
If these do not match your setup you can set the environment variable
`QGIS_PGTEST_DB` to the desired connection string. Note that you can
rely on standard libpq environment variables to tweak host, port user
and password (PGHOST, PGPORT, PGUSER, PGPASSWORD).

Please note that the database needs to be initialized using
Please note that the test database needs to be initialized using
the sql-scripts:

tests/testdata/provider/testdata_pg*.sql

0 comments on commit 38d905f

Please sign in to comment.
You can’t perform that action at this time.