aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ert-helper.el2
-rw-r--r--test/mastodon-auth-tests.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ert-helper.el b/test/ert-helper.el
index 230baf2..984a8ae 100644
--- a/test/ert-helper.el
+++ b/test/ert-helper.el
@@ -3,7 +3,6 @@
(load-file "lisp/mastodon-toot.el")
(load-file "lisp/mastodon.el")
(load-file "lisp/mastodon-search.el")
-(load-file "lisp/mastodon-async.el")
(load-file "lisp/mastodon-client.el")
(load-file "lisp/mastodon-auth.el")
(load-file "lisp/mastodon-discover.el")
@@ -13,6 +12,7 @@
(load-file "lisp/mastodon-profile.el")
(load-file "lisp/mastodon-search.el")
(load-file "lisp/mastodon-tl.el")
+(load-file "lisp/mastodon-async.el")
;; load tests in bulk to avoid using deprecated `cask exec'
(let ((tests (cl-remove-if-not (lambda (x)
diff --git a/test/mastodon-auth-tests.el b/test/mastodon-auth-tests.el
index f2fe009..af41036 100644
--- a/test/mastodon-auth-tests.el
+++ b/test/mastodon-auth-tests.el
@@ -31,7 +31,7 @@
`(error ,(format "Mastodon-auth--access-token: invalid_grant: %s" error-message))
(condition-case error
(mastodon-auth--handle-token-response
- `(:error "Invalid_grant" :error_description ,error-message))
+ `(:error "invalid_grant" :error_description ,error-message))
(t error))))))
(ert-deftest mastodon-auth--get-token ()