aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-profile-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/mastodon-profile-tests.el')
-rw-r--r--test/mastodon-profile-tests.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/mastodon-profile-tests.el b/test/mastodon-profile-tests.el
index d187e2d..be7f50e 100644
--- a/test/mastodon-profile-tests.el
+++ b/test/mastodon-profile-tests.el
@@ -170,11 +170,10 @@ When formatting Gargon's state we want to see
The search will happen as if called without the \"@\"."
(with-mock
-
(mock (mastodon-http--get-json
- "https://instance.url/api/v1/accounts/search"
- '(("q" . "gargron"))))
-
+ "https://instance.url/api/v2/search"
+ '(("q" . "gargron")
+ ("type" . "accounts"))))
(let ((mastodon-instance-url "https://instance.url"))
;; We don't check anything from the return value. We only care
;; that the mocked fetch was called with the expected URL.