aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_todo.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_todo.py b/tests/test_todo.py
index 9307012..8834f7e 100644
--- a/tests/test_todo.py
+++ b/tests/test_todo.py
@@ -58,8 +58,6 @@ class Fake:
def __call__(self, method, url, token, data=None):
self.calls.append((method, url, data, token))
- if url.endswith("/api/v1/info"):
- return {"frontend_url": "http://vikunja.example.org/"}
if method == "GET" and "/api/v2/tasks?" in url:
return {"items": self.tasks}
if method == "GET":
@@ -108,7 +106,7 @@ class Module(unittest.TestCase):
def test_open_runs_xdg_open_on_the_task(self):
self.m.actions["open"]({"id": 7})
- self.assertEqual(self.opened, [["xdg-open", "http://vikunja.example.org/tasks/7"]])
+ self.assertEqual(self.opened, [["xdg-open", "http://vikunja.example.org:3456/tasks/7"]])
def test_done_patches_only_done(self):
self.m.actions["done"]({"id": 7})