From fdca962d601b9687bdf4a1db633039ca5329199f Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Thu, 23 May 2019 18:56:54 +0300 Subject: [PATCH] Less config for the test --- test/clj/reitit/pedestal_test.clj | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/clj/reitit/pedestal_test.clj b/test/clj/reitit/pedestal_test.clj index f9f3e4d8..86211927 100644 --- a/test/clj/reitit/pedestal_test.clj +++ b/test/clj/reitit/pedestal_test.clj @@ -33,11 +33,7 @@ {:interceptors [{:name :nop} (exception/exception-interceptor)]} ["/ok" (fn [_] {:status 200, :body "ok"})] ["/fail" (fn [_] (throw (ex-info "kosh" {})))]])) - service (-> {:env :dev - :io.pedestal.http/type :jetty - :io.pedestal.http/port 3000 - :io.pedestal.http/join? false - :io.pedestal.http/request-logger nil + service (-> {:io.pedestal.http/request-logger nil :io.pedestal.http/routes []} (io.pedestal.http/default-interceptors) (pedestal/replace-last-interceptor router)