From 113ee020484b6b7f9a313753ef6bcee188ff08ce Mon Sep 17 00:00:00 2001 From: "Michael S. Klishin" Date: Fri, 14 Sep 2012 11:42:56 +0400 Subject: [PATCH] Don't use deprecated constant --- test/monger/test/querying_test.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/monger/test/querying_test.clj b/test/monger/test/querying_test.clj index a94263c..292c2c0 100644 --- a/test/monger/test/querying_test.clj +++ b/test/monger/test/querying_test.clj @@ -231,7 +231,7 @@ (find {}) (paginate :page 1 :per-page 3) (sort { :title 1 }) - (read-preference ReadPreference/PRIMARY) + (read-preference ReadPreference/primary) (options com.mongodb.Bytes/QUERYOPTION_NOTIMEOUT)) result2 (with-collection coll (find {})