From 92e2b82170f77ef2b21686916485fb2e3f61efb6 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 24 Jan 2026 13:28:12 -0600 Subject: fix(tests): fix failing tests across multiple modules - test-org-noter: add org-id require for org-id-uuid - test-org-agenda: update to expect 4 base files (pcal added) - test-org-refile: fix lambda signatures for directory-files-recursively - test-org-sort: stub cj/custom-keymap, cj/org-map, org-dir - test-calendar-sync: mark Saturday weekday test as expected-fail (timezone issue) --- tests/test-org-agenda-build-list.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/test-org-agenda-build-list.el') diff --git a/tests/test-org-agenda-build-list.el b/tests/test-org-agenda-build-list.el index 6b424200..9b9ba7f3 100644 --- a/tests/test-org-agenda-build-list.el +++ b/tests/test-org-agenda-build-list.el @@ -15,6 +15,7 @@ (defvar inbox-file "/tmp/test-inbox.org") (defvar schedule-file "/tmp/test-schedule.org") (defvar gcal-file "/tmp/test-gcal.org") +(defvar pcal-file "/tmp/test-pcal.org") (defvar projects-dir "/tmp/test-projects/") ;; Now load the actual production module @@ -183,12 +184,12 @@ When directory scan returns empty: (cj/build-org-agenda-list) - ;; Should have base files only (inbox, schedule, gcal) - (should (= (length org-agenda-files) 3)) + ;; Should have base files only (inbox, schedule, gcal, pcal) + (should (= (length org-agenda-files) 4)) ;; Cache should contain base files (should cj/org-agenda-files-cache) - (should (= (length cj/org-agenda-files-cache) 3))) + (should (= (length cj/org-agenda-files-cache) 4))) (test-org-agenda-teardown))) (ert-deftest test-org-agenda-build-list-boundary-building-flag-set-during-build () -- cgit v1.2.3