Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix weak assertion in create-table-from-schema!-test (#77520)

Chris Truterf9ecaf7f921a
diff --git a/test/metabase/transforms/execute_test.clj b/test/metabase/transforms/execute_test.clj
index 21c1461aa87..50974cc0d54 100644
--- a/test/metabase/transforms/execute_test.clj
+++ b/test/metabase/transforms/execute_test.clj
@@ -144,7 +144,7 @@
(testing "create-table-from-schema! should create the table successfully"
(transforms-base.u/create-table-from-schema! driver db-id table-schema)
(let [table-exists? (driver/table-exists? driver (mt/db) {:schema schema-name :name table-name})]
- (is (some? table-exists?) "Table should exist in the database schema")
+ (is (true? table-exists?) "Table should exist in the database schema")
(driver/drop-table! driver db-id (:name table-schema))))))))
(deftest transform-schema-created-if-needed-test