Skip to content

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

Include "all entries for" in `mt/all-entries-for` (#66668)

dpsutton43e2dce3573d
diff --git a/test/metabase/test/util.clj b/test/metabase/test/util.clj
index 79416ddec18..54b6e2acccf 100644
--- a/test/metabase/test/util.clj
+++ b/test/metabase/test/util.clj
@@ -1592,12 +1592,12 @@
[topic model model-id]
(assert (int? model-id) "Must provide an integer id for the model")
(assert (isa? model :metabase/model))
- (t2/select-one [:model/AuditLog :topic :user_id :model :model_id :details]
- {:order-by [[:id :desc]]
- :where [:and
- [:= :model (name model)]
- [:= :model_id model-id]
- (when topic [:= :topic (name topic)])]}))
+ (t2/select [:model/AuditLog :topic :user_id :model :model_id :details]
+ {:order-by [[:id :desc]]
+ :where [:and
+ [:= :model (name model)]
+ [:= :model_id model-id]
+ (when topic [:= :topic (name topic)])]}))
(defn repeat-concurrently
"Run `f` `n` times concurrently. Returns a vector of the results of each invocation of `f`."