Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fixes #181

Merged
merged 2 commits into from
Jan 28, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/clj_http/test/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@
:http-conn conn})))})]
(is (= 200 status))
(is (= 2 (count @saved-ctx)))
(is (count trace-redirects) (count @saved-ctx))
(is (= (count trace-redirects) (count @saved-ctx)))
(is (every? #(= 18080 (:remote-port %)) @saved-ctx))
(is (every? #(instance? HttpConnection (:http-conn %)) @saved-ctx))))

Expand Down Expand Up @@ -477,7 +477,7 @@

;; If you set a :cookie-policy, the name of the policy is registered
;; as (str (type cookie-policy))
(deftest t-add-client-params-default-cookie-policy
(deftest t-add-client-params-cookie-policy
(testing "Using add-client-params! to get an explicitly set :cookie-policy"
(let [setps (.getParams (doto (DefaultHttpClient.)
(core/add-client-params!
Expand Down