   (poly/polygon [(apply umm-s/ords->ring ords)]))
 
 (defn assert-invalid
-  ([status-code coll-attributes field-path errors]
-   (assert-invalid status-code coll-attributes field-path errors :echo10))
-  ([status-code coll-attributes field-path errors metadata-format]
-   (let [collection (assoc (dc/collection coll-attributes) :native-id (:native-id coll-attributes))
-         response (d/ingest "PROV1" collection metadata-format)]
-     (is (= {:status status-code
-             :errors (if field-path
-                       [{:path field-path :errors errors}]
-                       errors)}
+  ([coll-attributes field-path errors]
+   (assert-invalid coll-attributes field-path errors :echo10))
+  ([coll-attributes field-path errors metadata-format]
+   (let [response (d/ingest "PROV1" (dc/collection coll-attributes) metadata-format)]
+     (is (= {:status 400
+             :errors [{:path field-path
+                       :errors errors}]}
             (select-keys response [:status :errors]))))))
 
 (defn assert-valid

                                                  :sr coord-sys
                                                  :geometries shapes})})))

;; This tests that UMM type validations are applied during collection ingest.
;; Thorough tests of UMM validations should go in cmr.umm.test.validation.core and related
;; namespaces.
(deftest collection-umm-validation-test
  (testing "Product specific attribute validation"
    (assert-invalid
      400
      {:product-specific-attributes
       [(dc/psa "bool" :boolean true)
        (dc/psa "bool" :boolean true)]}

      ["Product Specific Attributes must be unique. This contains duplicates named [bool]."]))
  (testing "Nested Path Validation"
    (assert-invalid
      {:platforms [(dc/platform "P1" "none" nil (dc/instrument "I1") (dc/instrument "I1"))]}
      ["Platforms" 0 "Instruments"]
      ["Instruments must be unique. This contains duplicates named [I1]."]))
