   (helpers/set-capabilities! "foouser" "user" all-capabilities)
   (whoami-helpers/set-whoami-response "45c1f5e3f05d0" "foouser" "user")
 
-  (testing ":start_time is now and :end_date is in 2 weeks"
-
-    (let [sha (str "39091a6e0d00472273c3d644a47611b"
-                   "ac95554d8d48899ec74d1b3127542f89b")
+  (testing ":start_time is now and :end_time is in 2 weeks"
+
+    (let [{:keys [type value]
+           :as observable}
+          {:type "sha256"
+           :value (str "39091a6e0d00472273c3d644a47611b"
+                       "ac95554d8d48899ec74d1b3127542f89b")}
 
           {status :status
            judgement :parsed-body}

                                                    time/format-date-time)
                                    :end_time (-> (time/plus-n :weeks (time/now) 2)
                                                  time/format-date-time)}
                       :observable {:value sha,
                                    :type "sha256"}
                       :reason_uri "https://example.com/",
                       :source "Example",
                       :external_ids ["judgement-1"],

  (testing ":end_time is today, but in the future"
    (let [format (partial format/unparse (format/formatters :date-time))

          {:keys [type value]
           :as observable}
          {:type "ip"
           :value "10.0.0.2"}

          {status :status
           judgement :parsed-body}
          (post "ctia/judgement"
