Skip to content

Commit

Permalink
Test fix 🔧
Browse files Browse the repository at this point in the history
  • Loading branch information
camsaul committed Sep 25, 2020
1 parent 6825194 commit f0b1a5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/saml20_clj/sp/request_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
(map str/trim)
(filter seq)))))

(testing "should be able to create a signed request (with signature)"
(testing "should be able to create a signed request (with KeyInfo)"
(is (= [(str "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<samlp:AuthnRequest xmlns:samlp=\"urn:oasis:names:tc:SAML:2.0:protocol\""
" AssertionConsumerServiceURL=\"http://sp.example.com/demo1/index.php?acs\""
Expand Down Expand Up @@ -150,7 +150,7 @@
:acs-url "http://sp.example.com/demo1/index.php?acs"
:idp-url "http://idp.example.com/SSOService.php"
:issuer "http://sp.example.com/demo1/metadata.php"
:private-key [test/sp-cert test/sp-private-key]}))
:credential [test/sp-cert test/sp-private-key]}))
coerce/->xml-string
str/split-lines
;; for some reason it indents the XML differently on the REPL and in the tests
Expand Down

0 comments on commit f0b1a5c

Please sign in to comment.