The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Fix notification send test retry config key (:max-attempts → :max-retries) (#71689)
Edward Pagete60356ffd71d
diff --git a/test/metabase/notification/send_test.clj b/test/metabase/notification/send_test.cljindex d74b388a0ac..e98a5bd725a 100644--- a/test/metabase/notification/send_test.clj+++ b/test/metabase/notification/send_test.clj@@ -399,7 +399,7 @@[{:channel_type notification.tu/test-channel-type:channel_id (:id chn):recipients [{:type :notification-recipient/user :user_id (mt/user->id :crowberto)}]}])]- (with-redefs [notification.send/default-retry-config (assoc @#'notification.send/default-retry-config :max-attempts 1)+ (with-redefs [notification.send/default-retry-config (assoc @#'notification.send/default-retry-config :max-retries 1)channel/send! (fn [& _](throw (Exception. "test-channel-exception")))](#'notification.send/send-notification-sync! n)