From 28e054aa3fb82627a4e8855b06fd641712aabea3 Mon Sep 17 00:00:00 2001 From: George Narroway Date: Wed, 7 Feb 2024 10:41:52 +0800 Subject: [PATCH] creating existing collection no longer throws --- test/mongo_driver_3/collection_test.clj | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/mongo_driver_3/collection_test.clj b/test/mongo_driver_3/collection_test.clj index bbf356d..9ad419a 100644 --- a/test/mongo_driver_3/collection_test.clj +++ b/test/mongo_driver_3/collection_test.clj @@ -349,12 +349,7 @@ (testing "not existing" (let [db (new-db @client) _ (mc/create db "my-coll")] - (is (true? (coll-exists? db "my-coll"))))) - - (testing "existing" - (let [db (new-db @client) - _ (mc/create db "my-coll")] - (is (thrown? Exception (mc/create db "my-coll")))))) + (is (true? (coll-exists? db "my-coll")))))) (deftest ^:integration test-rename (testing "not existing"