Compare commits

...

1 Commits

Author SHA1 Message Date
Callum Herries
31cc643cf5 Replace hard-coded drivers with supports-time? 2022-12-02 17:32:38 +01:00

View File

@@ -797,9 +797,7 @@
first))))))))
(deftest datetime-diff-type-test
;; FIXME — The excluded drivers below don't have TIME types. These shouldn't be hard-coded with #26807
(mt/test-drivers (disj (mt/normal-drivers-with-feature :datetime-diff)
:oracle :presto :redshift :sparksql :snowflake)
(mt/test-drivers (filter mt/supports-time-type? (mt/normal-drivers-with-feature :datetime-diff))
(testing "Cannot datetime-diff against time column"
(mt/dataset attempted-murders
(is (thrown-with-msg?