Skip to content
Snippets Groups Projects
Unverified Commit a0d7b039 authored by metamben's avatar metamben Committed by GitHub
Browse files

Silence error message in render-pulse-email-test (#21698)

Without this change the following error is logged:
ERROR TypeError: Cannot read property 'table.column_formatting' of null
parent f16f2def
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,9 @@
(deftest render-pulse-email-test
(testing "Email with few rows and columns can be rendered when tracing (#21166)"
(tu/with-log-level [metabase.email :trace]
(let [result {:card {:name "card-name"}
(let [result {:card {:name "card-name"
:visualization_settings
{:table.column_formatting []}}
:result {:data {:cols [{:name "x"} {:name "y"}]
:rows [[0 0]
[1 1]]}}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment