Skip to content

Commit 435580c

Browse files
committed
Fix test
Fix some tests
1 parent b45ffbf commit 435580c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/starburst/test/metabase/driver/starburst_test.clj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,21 @@
2828
[metabase.models.table :as table :refer [Table]]
2929
[metabase.query-processor :as qp]
3030
[metabase.query-processor.compile :as qp.compile]
31+
[metabase.query-processor-test.timezones-test :as timezones-test]
3132
[metabase.sync :as sync]
3233
[metabase.test :as mt]
3334
[metabase.test.fixtures :as fixtures]
35+
[metabase.test.data.interface :as tx]
36+
[metabase.test.data.sql-jdbc :as sql-jdbc.tx]
3437
[toucan2.tools.with-temp :as t2.with-temp]
3538
[toucan2.core :as t2]))
3639

3740
(use-fixtures :once (fixtures/initialize :db))
41+
(sql-jdbc.tx/add-test-extensions! :starburst)
42+
43+
(defmethod tx/before-run :starburst
44+
[_]
45+
(alter-var-root #'timezones-test/broken-drivers conj :starburst))
3846

3947
(deftest describe-database-test
4048
(mt/test-driver :starburst

0 commit comments

Comments
 (0)