            [] {:entry_title "foo"}
 
            "entry-id matches"
-           [coll] {:entry_id (:EntryId example-record)}
+           [coll] {:entry_id "short_V1_V5"}
            "entry-id not matches"
            [] {:entry_id "foo"}
 

  [coll gran attribs]
  (ingest-gran coll (merge gran attribs)))

;; Test that the MMT round trip for ingesting works and ingested collections can be found
;; Test Outline
;; - Convert example UMM-JSON record to ISO-19115 using translate API
;; - Ingest ISO-19115
;; - Search for a collection using various fields and verify it is found
(deftest mmt-ingest-round-trip
    (testing "translate umm-json to iso-19115 then ingest and search"
      (let [example-record expected-conversion/example-record
            umm-json (umm-spec/generate-metadata :collection :umm-json example-record)
            metadata (:body (ingest/translate-metadata :collection :umm-json umm-json :iso19115))
            coll (d/ingest-concept-with-metadata {:provider-id "PROV1"
                                                  :concept-type :collection
                                                  :format-key :iso19115
                                                  :metadata metadata})]
        (index/wait-until-indexed)
        ;; parameter queries
         (are2 [items params]

           "platform not matches"
           [] {:platform "foo"}

           "instrument"
           [coll] {:instrument (-> example-record :Platforms first :Instruments first :ShortName)}

           "sensor"
           [coll] {:sensor (-> example-record :Platforms first :Instruments first :Sensors
                               first :ShortName)}

           "project matches"
           [coll] {:project (-> example-record :Projects first :ShortName)}
