Skip to content

Commit

Permalink
Add a notice about service=qgis_test being used by some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed Jun 6, 2017
1 parent 7af47c2 commit 38d905f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38d905f

Please sign in to comment.