Browse Source

Mild code cleanup

master
Stephen Starkey 2 years ago
parent
commit
be2dc2a52e
  1. 3
      test/clj/email_counter/test/handler.clj

3
test/clj/email_counter/test/handler.clj

@ -48,8 +48,7 @@
(let [exceptions-encountered (atom [])
print-exceptions (partial print-exceptions exceptions-encountered)]
(with-redefs [exception/log-error
(fn [e]
(swap! exceptions-encountered conj e))]
(fn [e] (swap! exceptions-encountered conj e))]
(testing "ping"
(is (= {:status 200, :body {:message "pong"}}
(clean-response ((app) (request :get "/api/ping"))))))

Loading…
Cancel
Save