Skip to content
Snippets Groups Projects
Unverified Commit 815b3536 authored by Ngoc Khuat's avatar Ngoc Khuat Committed by GitHub
Browse files

fix snowflake tests (#26965)

parent e69a7445
No related merge requests found
......@@ -109,7 +109,7 @@
:database-type "VARCHAR"
:base-type :type/Text
:database-position 1
:database-required false}}}
:database-required true}}}
(driver/describe-table :snowflake (assoc (mt/db) :name "ABC") (db/select-one Table :id (mt/id :categories))))))))
(deftest describe-table-fks-test
......@@ -201,8 +201,8 @@
["2014-08-02T00:00:00Z" "2014-08-02T09:30:00Z"]]
(run-query))))
(testing "with report timezone set"
(is (= [["2014-08-02T00:00:00-07:00" "2014-08-02T05:30:00-07:00"]
["2014-08-02T00:00:00-07:00" "2014-08-02T02:30:00-07:00"]]
(is (= [["2014-08-02T00:00:00-07:00" "2014-08-02T12:30:00-07:00"]
["2014-08-02T00:00:00-07:00" "2014-08-02T09:30:00-07:00"]]
(mt/with-temporary-setting-values [report-timezone "US/Pacific"]
(run-query)))))))))
......
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