diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index c4c6664..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,28 +0,0 @@ -version: 2.1 -jobs: - build: - docker: - - image: circleci/clojure:openjdk-11-lein - steps: - - checkout - - run: lein test - -# publish: -# docker: -# - image: circleci/clojure:openjdk-11-lein -# steps: -# - checkout -# - run: lein deploy clojars - - -workflows: - version: 2 - build-publish: - jobs: - - build -# - publish: -# requires: -# - build -# filters: -# branches: -# only: master \ No newline at end of file diff --git a/test/mongo_driver_3/collection_test.clj b/test/mongo_driver_3/collection_test.clj index 3f3abb9..777f86b 100644 --- a/test/mongo_driver_3/collection_test.clj +++ b/test/mongo_driver_3/collection_test.clj @@ -228,7 +228,7 @@ :date (:date doc) :localdate (Date/from (.toInstant (.atStartOfDay (:localdate doc) (ZoneId/of "UTC")))) :localdatetime (Date/from (.toInstant (.atZone (:localdatetime doc) (ZoneId/of "UTC")))) - :localtime (Date/from (.toInstant (.atZone (LocalDateTime/of (LocalDate/EPOCH) (:localtime doc)) (ZoneId/of "UTC"))))} res))))) + :localtime (Date/from (.toInstant (.atZone (LocalDateTime/of (LocalDate/ofEpochDay 0) (:localtime doc)) (ZoneId/of "UTC"))))} res))))) (deftest ^:integration test-insert-many (testing "basic insertions"