                     mt/html "] are not supported.")
                err-msg)))
       (let [response (search/retrieve-concept
-                      "G1200000004-PROV1" nil
+                      gran-concept-id nil
                       {:headers {transmit-config/token-header user1-token}
                        :url-extension "html"})
             err-msg (first (:errors (json/decode (:body response) true)))]
         (is (= 400 (:status response)))
         (is (= "The URL extension [html] is not supported."
                err-msg))))))
-
-

        ;; ingest granule twice
        gran1-1 (d/ingest "PROV1" umm-gran1-1)
        gran1-2 (d/ingest "PROV1" umm-gran1-2)

        guest-token (e/login-guest (s/context))
        user1-token (e/login (s/context) "user1")]


    (testing "retrieve metadata from search by concept-id/revision-id"
      (testing "collections and granules"
        (are3 [item format-key accept concept-id revision-id]
          (let [headers {transmit-config/token-header user1-token
                         "Accept" accept}
                response (search/retrieve-concept concept-id revision-id {:headers headers})]
            (result-matches? format-key item response))

          "echo10 granule revision 1"
          umm-gran1-1 :echo10 mt/echo10 gran-concept-id 1

          "echo10 granule revision 2"
          umm-gran1-2 :echo10 mt/echo10 gran-concept-id 2)))
    (testing "unsupported formats"
      (let [response (search/retrieve-concept
                      gran-concept-id nil
                      {:headers {transmit-config/token-header user1-token}
                       :accept mt/html})
            err-msg (first (:errors (json/decode (:body response) true)))]
