diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-03-21 14:54:39 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-03-21 14:54:39 +0100 |
commit | 77aba9acfb7de6f709ae0496036142cce9122ecd (patch) | |
tree | a66f2d50cd6a7a13341aef21da5fa01634d1298c | |
parent | fdeeb396c7c2c9a6618661e2ea5d24b999a0e42f (diff) |
fix auth test and ert-helper.el file order
-rw-r--r-- | test/ert-helper.el | 2 | ||||
-rw-r--r-- | test/mastodon-auth-tests.el | 2 |
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 () |