Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Point ->entries-test at a tool that is still unconverted (#85345)

Nemanja Glumac300ce9f93b76
diff --git a/test/metabase/metabot/tools_test.clj b/test/metabase/metabot/tools_test.clj
index 04af9263c50..6da26a4a12a 100644
--- a/test/metabase/metabot/tools_test.clj
+++ b/test/metabase/metabot/tools_test.clj
@@ -900,9 +900,9 @@
(is (some? (:schema entry)))
(is (fn? (:fn entry))))))))
(testing "an unconverted tool's schema comes from its var metadata"
- (let [entries (agent-tools/->entries [#'agent-tools/list-snippets-tool] (atom {}) nil :nlq)
- [_:=> [_:cat declared] _out] (:schema (get entries "list_snippets"))
- [_:=> [_:cat original] _out] (:schema (meta #'agent-tools/list-snippets-tool))]
+ (let [entries (agent-tools/->entries [#'agent-tools/list-timelines-tool] (atom {}) nil :nlq)
+ [_:=> [_:cat declared] _out] (:schema (get entries "list_timelines"))
+ [_:=> [_:cat original] _out] (:schema (meta #'agent-tools/list-timelines-tool))]
(is (= original declared))))
(testing "a converted tool and an unconverted one sit side by side"
(let [entries (agent-tools/->entries [#'agent-tools/list-timelines-tool ; mu/defn var