From bb5259ac3f6653f7ce3b7583e44a60a3fa2cbf24 Mon Sep 17 00:00:00 2001 From: Son Date: Fri, 12 Nov 2021 10:00:01 +0100 Subject: [PATCH] fix test --- tests/api/test_new_random_alias.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api/test_new_random_alias.py b/tests/api/test_new_random_alias.py index c8c46a15..ffec6a20 100644 --- a/tests/api/test_new_random_alias.py +++ b/tests/api/test_new_random_alias.py @@ -50,7 +50,7 @@ def test_custom_mode(flask_client): # without note r = flask_client.post( - url_for("api.new_random_alias", hostname="www.test.com", mode="uuid"), + url_for("api.new_random_alias", mode="uuid"), ) assert r.status_code == 201 @@ -61,7 +61,7 @@ def test_custom_mode(flask_client): # with note r = flask_client.post( - url_for("api.new_random_alias", hostname="www.test.com", mode="uuid"), + url_for("api.new_random_alias", mode="uuid"), json={"note": "test note"}, )