diff options
author | Holger Dürer <me@hdurer.net> | 2021-11-01 15:53:37 +0100 |
---|---|---|
committer | Holger Dürer <me@hdurer.net> | 2021-11-01 15:53:37 +0100 |
commit | e7c7da386c812f9452b072567e822077180f3dc5 (patch) | |
tree | cfd28454b3c54404381620a1e77e722b6d5e9740 /test/mastodon-notifications-test.el | |
parent | d7593a06912b7946d2fb318093ec7e27c64b3be7 (diff) |
Fix tests.
These needed a bit of tender love and care to get back into passing
state.
- Move the auth tests to the `test` directory. No idea what it was
doing in `lisp`.
- Image tests are mostly broken because with later Emacsen we no
longer need the `imagemagic` option on create-image.
- Some method signatures have changed and mocking calls needed to
follow suit.
Diffstat (limited to 'test/mastodon-notifications-test.el')
-rw-r--r-- | test/mastodon-notifications-test.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mastodon-notifications-test.el b/test/mastodon-notifications-test.el index 19b591d..778d350 100644 --- a/test/mastodon-notifications-test.el +++ b/test/mastodon-notifications-test.el @@ -185,7 +185,7 @@ "Ensure get request format for notifictions is accurate." (let ((mastodon-instance-url "https://instance.url")) (with-mock - (mock (mastodon-http--get-json-async "https://instance.url/api/v1/notifications" 'mastodon-tl--init* "*mastodon-notifications*" "notifications" 'mastodon-notifications--timeline)) + (mock (mastodon-http--get-json "https://instance.url/api/v1/notifications" )) (mastodon-notifications--get)))) (defun mastodon-notifications--test-type (fun sample) |