aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAbhiseck Paira <abhiseckpaira@disroot.org>2022-02-25 20:46:33 +0530
committerAbhiseck Paira <abhiseckpaira@disroot.org>2022-02-25 20:46:33 +0530
commit523ccea77d0968016973aefe55a92d9ebfd0b451 (patch)
treece0b30e634ac5f99d267c733846564be82c326d7 /test
parent92f898f0a90760078a1bbfc843568e858891b6c9 (diff)
test: fix `mastodon-auth--access-token-not-found'
Diffstat (limited to 'test')
-rw-r--r--test/mastodon-auth-tests.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/mastodon-auth-tests.el b/test/mastodon-auth-tests.el
index 3ecac30..2d9d6df 100644
--- a/test/mastodon-auth-tests.el
+++ b/test/mastodon-auth-tests.el
@@ -53,6 +53,7 @@
(ert-deftest mastodon-auth--access-token-not-found ()
"Should set and return `mastodon-auth--token' if nil."
(let ((mastodon-instance-url "https://instance.url")
+ (mastodon-active-user "user")
(mastodon-auth--token-alist nil))
(with-mock
(mock (mastodon-auth--get-token) => '(:access_token "foobaz"))