Remove test for deprecated :repository-auth settings.
This commit is contained in:
parent
0c6c58e329
commit
5a1762d0e2
1 changed files with 3 additions and 5 deletions
|
@ -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"}]]
|
||||
|
|
Loading…
Reference in a new issue