     [cmr.system-int-test.data2.collection :as dc]
     [cmr.system-int-test.data2.core :as d]
     [cmr.system-int-test.data2.granule :as dg]
+    [cmr.system-int-test.data2.umm-spec-collection :as data-umm-c]
     [cmr.system-int-test.utils.dev-system-util :as dev-sys-util]
     [cmr.system-int-test.utils.humanizer-util :as hu]
     [cmr.system-int-test.utils.index-util :as index]

         []
         :dif10

         ["Collection TilingIdentificationSystemName [BRAVO] is referenced by existing granules, cannot be removed. Found 1 granules."]
         :iso19115

         ["Collection additional attribute [a-float] is referenced by existing granules, cannot be removed. Found 1 granules."
          "Collection TilingIdentificationSystemName [BRAVO] is referenced by existing granules, cannot be removed. Found 1 granules."
          "Collection changing from GEODETIC granule spatial representation to NO_SPATIAL is not allowed when the collection has granules. Found 1 granules."]
         :iso-smap)))


                    :beginning-date-time "1966-12-12T07:00:00.000-05:00"
                    :ending-date-time "1967-10-12T07:00:00.000-05:00"}

        coll1 (data-umm-c/collection coll-data1)
        _ (d/ingest-umm-spec-collection "PROV1" coll1 {:format :iso19115})
        gran1 (dg/granule-with-umm-spec-collection coll1 (:concept-id coll1)  gran-data1)
        granule-result (d/ingest "PROV1" gran1 {:format :echo10 :allow-failure? true})]
     ;; The test is checking that the exception does not occur
     ;; 422 status is the expected behavior
