Skip to content

Commit ef2e70a

Browse files
committed
Fix tests
1 parent b4b0cbd commit ef2e70a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

test/eca/features/tools/todo_test.clj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@
5656
result (handler {"op" "read"} {:db db :chat-id "c1"})]
5757
(is (match? {:details {:type :todo
5858
:goal "Test Goal"
59-
:inProgressTaskIds [1]
59+
:in-progress-task-ids [1]
6060
:tasks [{:id 1
6161
:content "Task 1"
6262
:status "in-progress"
6363
:priority "high"
64-
:isBlocked false
65-
:doneWhen "criteria"}]
64+
:is-blocked false
65+
:done-when "criteria"}]
6666
:summary {:done 0
67-
:inProgress 1
67+
:in-progress 1
6868
:pending 0
6969
:total 1}}}
7070
result))))
@@ -458,7 +458,7 @@
458458
:details {:type :todo
459459
:goal "Goal"
460460
:tasks []
461-
:summary {:done 0 :inProgress 0 :pending 0 :total 0}}
461+
:summary {:done 0 :in-progress 0 :pending 0 :total 0}}
462462
:contents [{:type :text :text "TODO created"}]}
463463
details (f.tools/tool-call-details-after-invocation
464464
:todo

0 commit comments

Comments
 (0)