   ([providers options]
    (fn [f]
      (dev-sys-util/reset)
-     (set-collection-ingest-umm-version-to-current)
+     (set-ingest-umm-version-to-current)
      (when-not (empty? providers)
       (setup-providers providers options))
      (f))))


;;; fixture - each test to call this fixture
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defn set-collection-ingest-umm-version-to-current
  "Set the collection ingest-accept-umm-version to current-collection-version."
  []
  (side/eval-form `(common-config/set-collection-umm-version!
                     umm-versioning/current-collection-version)))

(defn create-provider
  "Creates a provider along with ACLs to create and access the providers data.

          :grant-all-access-control? grant-all-access-control?})))))

(defn reset-fixture
  "Resets all the CMR systems then uses the `set-ingest-umm-version-to-current`
  function to set the accepted umm versions for ingest to the the latest UMM version defined in
  umm-spec-lib, so that all the ingest tests are testing against the latest umm version.
  and uses the `setup-providers` function to create a testing fixture.

  For the format of the providers data structure, see `setup-providers`."
