 
 (def current-umm-version
   "current umm schema version."
-  "1.10")
+  umm-version/current-version)
 
 (def original-ingest-accept-umm-version
   "Original ingest-accept-umm-version in ingest config
    used to reverse back after changing it for certain tests."
-  "1.9")
+  (ingest-config/ingest-accept-umm-version))
 
 (deftest simple-search-test
   (let [c1-echo (d/ingest "PROV1" (dc/collection {:short-name "S1"

    [cmr.common.mime-types :as mt]
    [cmr.common.util :as util :refer [are2 are3]]
    [cmr.common.xml :as cx]
    [cmr.search.validators.opendata :as opendata-json]
    [cmr.spatial.codec :as codec]
    [cmr.spatial.line-string :as l]

;; This tests that searching for and retrieving metadata after refreshing the search cache works.
;; Other metadata tests all run before refreshing the cache so they cover that case.
(deftest collection-metadata-cache-test
  (dev-sys-util/eval-in-dev-sys `(ngest-config/set-ingest-accept-umm-version! current-umm-version))
  (let [c1-echo (d/ingest "PROV1" (dc/collection {:entry-title "c1-echo"})
                          {:format :echo10})
        c2-echo (d/ingest "PROV2" (dc/collection {:entry-title "c2-echo"})
