Skip to content

Commit

Permalink
Re-enable test against org-jira-worklogs-to-org-clocks
Browse files Browse the repository at this point in the history
This reverts commit a5b3dbe, that is
now working as expected.
  • Loading branch information
lelit committed Mar 29, 2023
1 parent ca7de60 commit 8652165
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions t/org-jira-t.el
Original file line number Diff line number Diff line change
Expand Up @@ -147,22 +147,22 @@
(issueId . "10402"))]))
"A sample response, as served from the #'jiralib-get-worklogs call.")

;; (ert-deftest org-jira-worklogs-to-org-clocks-test ()
;; (let ((result (org-jira-worklogs-to-org-clocks
;; (cdr (assoc 'worklogs org-jira-worklog-fixture-response)))))
;; (should
;; (string= "2017-02-26 Sun 00:08"
;; (caar result)))
;; (should
;; (string= "2017-02-26 Sun 01:08"
;; (cadar result)))
;; (should
;; (string= "2017-03-16 Thu 22:25"
;; (caadr result)))
;; (should
;; (string= "2017-03-16 Thu 22:57"
;; (cadadr result)))
;; ))
(ert-deftest org-jira-worklogs-to-org-clocks-test ()
(let ((result (org-jira-worklogs-to-org-clocks
(cdr (assoc 'worklogs org-jira-worklog-fixture-response)))))
(should
(string= "2017-02-26 Sun 00:08"
(caar result)))
(should
(string= "2017-02-26 Sun 01:08"
(cadar result)))
(should
(string= "2017-03-16 Thu 22:25"
(caadr result)))
(should
(string= "2017-03-16 Thu 22:57"
(cadadr result)))
))

(ert-deftest org-jira-format-clock-test ()
(should
Expand Down

0 comments on commit 8652165

Please sign in to comment.