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

@@ -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