]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/steps/queries.py
move php tests in common test dir and unify READMEs
[nominatim.git] / test / bdd / steps / queries.py
index 7d3dec69e2e56ffac2e17daa3deb54f9a55f8505..c429f082f2cc5bc08ce40a95dd4660b9ca180e58 100644 (file)
@@ -264,7 +264,7 @@ def send_api_query(endpoint, params, fmt, context):
             for h in context.table.headings:
                 params[h] = context.table[0][h]
 
-    env = BASE_SERVER_ENV
+    env = dict(BASE_SERVER_ENV)
     env['QUERY_STRING'] = urlencode(params)
 
     env['SCRIPT_NAME'] = '/%s.php' % endpoint