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-http-tests.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-http-tests.el')
-rw-r--r-- | test/mastodon-http-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mastodon-http-tests.el b/test/mastodon-http-tests.el index 972cedb..d0f715e 100644 --- a/test/mastodon-http-tests.el +++ b/test/mastodon-http-tests.el @@ -4,6 +4,6 @@ "Should make a `url-retrieve' of the given URL." (let ((callback-double (lambda () "double"))) (with-mock - (mock (url-retrieve-synchronously "https://foo.bar/baz")) + (mock (mastodon-http--url-retrieve-synchronously "https://foo.bar/baz")) (mock (mastodon-auth--access-token) => "test-token") (mastodon-http--get "https://foo.bar/baz")))) |