Skip to content
Snippets Groups Projects
Unverified Commit 21c5df97 authored by lbrdnk's avatar lbrdnk Committed by GitHub
Browse files

Use macro that does pre and post cleanup (#38929)

Swaps with-temporary-setting-values for with-report-timezone-id.
parent 2aa3cec6
Branches
Tags
No related merge requests found
......@@ -417,7 +417,7 @@
(testing "should return the current time"
;; Allow a 30 second window for the current time to account for any difference between the time in Clojure and the DB
(doseq [timezone [nil "America/Los_Angeles"]]
(mt/with-temporary-setting-values [report-timezone timezone]
(mt/with-report-timezone-id timezone
(is (= true
(-> (mt/run-mbql-query venues
{:expressions {"1" [:now]}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment