aboutsummaryrefslogtreecommitdiff
path: root/tests/piem-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/piem-tests.el')
-rw-r--r--tests/piem-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/piem-tests.el b/tests/piem-tests.el
index 7f9f30f..b612b96 100644
--- a/tests/piem-tests.el
+++ b/tests/piem-tests.el
@@ -74,7 +74,7 @@
(piem-merged-inboxes))))
(let ((piem-get-inboxes-from-config nil)
(piem-inboxes '(("inbox" :url "inbox-url"))))
- (should (equal (piem-inbox-get :url "inbox") "inbox-url"))))
+ (should (equal (piem-inbox-url "inbox") "inbox-url/"))))
(ert-deftest piem-merged-inboxes:from-config ()
(piem-clear-merged-inboxes)
@@ -83,8 +83,8 @@
(piem-tests-with-pi-config piem-tests-sample-pi-config
(should (equal (piem-inbox-get :address "foo")
"foo@example.com"))
- (should (equal (piem-inbox-get :url "foo")
- "https://example.com/foo"))
+ (should (equal (piem-inbox-url "foo")
+ "https://example.com/foo/"))
(should (equal (piem-inbox-coderepo "foo")
"/code/foo/")))
(piem-tests-with-pi-config ""