diff options
| author | marty hiatt <martianhiatus@riseup.net> | 2024-08-05 20:40:16 +0200 |
|---|---|---|
| committer | marty hiatt <martianhiatus@riseup.net> | 2024-08-05 20:40:16 +0200 |
| commit | 5bbfebc92d6ff8e66e3072c453f6c3a44129cab2 (patch) | |
| tree | 30e44bac9f0629aa6dc450aeb2ec2ce25cdc1768 /test | |
| parent | 473a764d2e76e2ac371df4ce6bbd245d62a16a0f (diff) | |
fix one search by handle test
Diffstat (limited to 'test')
| -rw-r--r-- | test/mastodon-profile-tests.el | 7 |
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. |
