move php tests in common test dir and unify READMEs

This commit is contained in:
Sarah Hoffmann
2016-12-30 22:55:57 +01:00
parent 5252051291
commit b2be8c3ab7
10 changed files with 145 additions and 140 deletions

View File

@@ -1,15 +0,0 @@
Creating the test database
==========================
The official test dataset is derived from the 160725 planet. Newer
planets are likely to work as well but you may see isolated test
failures where the data has changed. To recreate the input data
for the test database run:
wget http://free.nchc.org.tw/osm.planet/pbf/planet-160725.osm.pbf
osmconvert planet-160725.osm.pbf -B=testdb.polys -o=testdb.pbf
Before importing make sure to add the following to your local settings:
@define('CONST_Database_DSN', 'pgsql://@/test_api_nominatim');
@define('CONST_Wikipedia_Data_Path', CONST_BasePath.'/test/testdb');