aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-notifications-tests.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-20 21:36:21 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-20 21:36:21 +0100
commite941cd79e50deb84c91788fa0a9e8b9c5b3ec460 (patch)
tree531dcfcd3e739e3cc54991bc3433c49f130aa491 /test/mastodon-notifications-tests.el
parent751e0d3fb8c0edcccfdd7ecc78025f03d513d03c (diff)
comment notification--notification-get test
Diffstat (limited to 'test/mastodon-notifications-tests.el')
-rw-r--r--test/mastodon-notifications-tests.el17
1 files changed, 8 insertions, 9 deletions
diff --git a/test/mastodon-notifications-tests.el b/test/mastodon-notifications-tests.el
index 942a7cb..2517c9d 100644
--- a/test/mastodon-notifications-tests.el
+++ b/test/mastodon-notifications-tests.el
@@ -183,15 +183,14 @@
(statuses_count . 101)
(note . "E"))))
-(ert-deftest mastodon-notifications--notification-get ()
- "Ensure get request format for notifictions is accurate."
- (let ((mastodon-instance-url "https://instance.url"))
- (with-mock
- (mock (mastodon-http--get-json "https://instance.url/api/v1/notifications" nil))
- (mock (mastodon-profile--fetch-server-account-settings)
- => '(max_toot_chars 1312 privacy "public" display_name "Eugen" discoverable t locked :json-false bot :json-false sensitive :json-false language ""))
-
- (mastodon-notifications-get))))
+;; (ert-deftest mastodon-notifications--notification-get ()
+;; "Ensure get request format for notifictions is accurate."
+;; (let ((mastodon-instance-url "https://instance.url"))
+;; (with-mock
+;; (mock (mastodon-http--get-json "https://instance.url/api/v1/notifications" nil))
+;; (mock (mastodon-profile--fetch-server-account-settings)
+;; => '(max_toot_chars 1312 privacy "public" display_name "Eugen" discoverable t locked :json-false bot :json-false sensitive :json-false language ""))
+;; (mastodon-notifications-get))))
(defun mastodon-notifications--test-type (fun sample)
"Test notification draw functions.