From 62939d6826c54d90f8734420694505f9090efbfa Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Mon, 24 Jun 2019 16:12:43 +0200
Subject: [PATCH] Fixed failing test

---
 api/tests/manage/test_views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/tests/manage/test_views.py b/api/tests/manage/test_views.py
index 72394052c..9a3c119ea 100644
--- a/api/tests/manage/test_views.py
+++ b/api/tests/manage/test_views.py
@@ -63,7 +63,7 @@ def test_domain_detail(factories, superuser_api_client):
 
 def test_domain_create(superuser_api_client, mocker):
     update_domain_nodeinfo = mocker.patch(
-        "funkwhale_api.federation.tasks.update_domain_nodeinfo"
+        "funkwhale_api.federation.tasks.update_domain_nodeinfo.delay"
     )
     url = reverse("api:v1:manage:federation:domains-list")
     response = superuser_api_client.post(url, {"name": "test.federation"})
-- 
GitLab