Remove test for deprecated :repository-auth settings.

This commit is contained in:
Phil Hagelberg 2012-05-30 21:08:43 -07:00
parent 0c6c58e329
commit 5a1762d0e2

View file

@ -81,11 +81,9 @@
(dorun (map #(.delete %) (reverse (file-seq d1))))))))
(deftest test-add-auth
(with-redefs [user/profiles (constantly
{:auth
{:repository-auth
{"https://sekrit.info/repo"
{:username "milgrim" :password "reindur"}}}})]
(with-redefs [user/credentials (constantly
{"https://sekrit.info/repo"
{:username "milgrim" :password "reindur"}})]
(is (= [["sonatype" {:url "https://oss.sonatype.org/"}]
["internal" {:password "reindur" :username "milgrim"
:url "https://sekrit.info/repo"}]]