aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-drill-orchestration-helpers.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-org-drill-orchestration-helpers.el')
-rw-r--r--tests/test-org-drill-orchestration-helpers.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-org-drill-orchestration-helpers.el b/tests/test-org-drill-orchestration-helpers.el
index 5589fa7..774f664 100644
--- a/tests/test-org-drill-orchestration-helpers.el
+++ b/tests/test-org-drill-orchestration-helpers.el
@@ -211,7 +211,7 @@ the resume hint."
(insert "* Question :drill:\n")
(org-mode)
(goto-char (point-min))
- (org-drill-store-item-data 10 3 1 5 3.8 2.4)
+ (org-drill-store-item-data (make-org-drill-card-state :last-interval 10 :repetitions 3 :failures 1 :total-repeats 5 :meanq 3.8 :ease 2.4))
(org-drill--copy-scheduling-to-marker dst-marker)))
(with-current-buffer (find-file-noselect dst-file)
(goto-char (point-min))
@@ -254,7 +254,7 @@ the resume hint."
(ert-deftest test-strip-unmatched-dest-entries-clears-properties ()
"Every entry left in the table has its scheduling props stripped."
(with-org-tempfile "* Question :drill:\n"
- (org-drill-store-item-data 10 3 1 5 3.8 2.4)
+ (org-drill-store-item-data (make-org-drill-card-state :last-interval 10 :repetitions 3 :failures 1 :total-repeats 5 :meanq 3.8 :ease 2.4))
(clrhash org-drill-dest-id-table)
(puthash "stale-id" (point-marker) org-drill-dest-id-table)
(org-drill--strip-unmatched-dest-entries)