Skip to content

Commit

Permalink
fix a small whoopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingmachine committed Apr 5, 2020
1 parent afbef30 commit ffb0186
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject sweet-tooth/sweet-tooth-endpoint "0.7.5"
(defproject sweet-tooth/sweet-tooth-endpoint "0.7.6"
:description "Utilities for working with liberator-based endpoints"
:url "https://github.com/sweet-tooth-clojure/sweet-tooth-endpoint"
:scm {:url "https://github.com/sweet-tooth-clojure/sweet-tooth-endpoint"}
Expand Down
4 changes: 1 addition & 3 deletions src/sweet_tooth/endpoint/test/harness.clj
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@

(defmethod base-request* :html
[method url params _]
(-> (mock/request method url params)
(mock/header :content-type "text/html")
(mock/header :accept "text/html")))
(mock/request method url params))

(defmethod base-request* :default
[method url params _]
Expand Down

0 comments on commit ffb0186

Please sign in to comment.