]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/test_tools_refresh_setup_website.py
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / python / test_tools_refresh_setup_website.py
index 126fc561d020af781d5d6bf21bf20732152f6b19..dc822e3c166051bf6812b75d41fb64703427ae97 100644 (file)
@@ -25,7 +25,9 @@ def test_script(envdir):
 
 
 def run_website_script(envdir, config):
-    refresh.setup_website(envdir, envdir / 'php', config)
+    config.lib_dir.php = envdir / 'php'
+    config.project_dir = envdir
+    refresh.setup_website(envdir, config)
 
     proc = subprocess.run(['/usr/bin/env', 'php', '-Cq',
                            envdir / 'search.php'], check=False)