Skip to content

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

Give the raw core_user insert an entity_id (#78691)

Chris Truter187f4df352d3
diff --git a/test/metabase/cmd/rotate_encryption_key_test.clj b/test/metabase/cmd/rotate_encryption_key_test.clj
index fad235ce126..2b409329ec1 100644
--- a/test/metabase/cmd/rotate_encryption_key_test.clj
+++ b/test/metabase/cmd/rotate_encryption_key_test.clj
@@ -185,6 +185,8 @@
:date_joined :%now
:is_superuser false
:is_active true
+ ;; NOT NULL, and the model hook that fills it is bypassed
+ :entity_id (u/generate-nano-id)
:settings raw-settings})))
(defn- insert-channel-with-raw-details!