diff --git a/api/tests/conftest.py b/api/tests/conftest.py
index 47b3e417f1208ebe7703063cae11c000c633eab7..a1baedcc66b47b8518d89a12f11706f69306b03b 100644
--- a/api/tests/conftest.py
+++ b/api/tests/conftest.py
@@ -390,6 +390,7 @@ def stdout():
 
 @pytest.fixture
 def spa_html(r_mock, settings):
+    settings.FUNKWHALE_SPA_HTML_ROOT = "http://noop/"
     yield r_mock.get(
         settings.FUNKWHALE_SPA_HTML_ROOT + "index.html", text="<head></head>"
     )