 (deftest repeat-same-collection-ingest-test
   (testing "ingest same concept n times ..."
     (let [n 4
-          concept (dc/collection-concept {})
+          concept (data-umm-c/collection-concept {})
           created-concepts (take n (repeatedly n #(ingest/ingest-concept concept)))]
       (index/wait-until-indexed)
       (is (apply = (map :concept-id created-concepts)))


;; Verify ingest is successful for request with content type that has parameters
(deftest content-type-with-parameter-ingest-test
  (let [concept (assoc (dc/collection-concept {})
                       :format "application/echo10+xml; charset=utf-8")
        {:keys [status]} (ingest/ingest-concept concept)]
    (index/wait-until-indexed)

;; Verify a new concept is ingested successfully.
(deftest collection-ingest-test
  (testing "ingest of a new concept"
    (let [concept (data-umm-c/collection-concept {})
          {:keys [concept-id revision-id]} (ingest/ingest-concept concept)]
      (index/wait-until-indexed)
      (is (mdb/concept-exists-in-mdb? concept-id revision-id))
      (is (= 1 revision-id))))
  (testing "ingest of a concept with a revision id"
    (let [concept (data-umm-c/collection-concept {:revision-id 5})
          {:keys [concept-id revision-id]} (ingest/ingest-concept concept)]
      (index/wait-until-indexed)
      (is (= 5 revision-id))
