Commit 67438b5
committed
Correctly test NameID attributes
In 6c63ed1 we introduced some logic to make NameID attributes optional.
On the checks is that urn:oasis:names:tc:SAML:2.0:nameidformat:persistent is
special. There are two problems with this, one:
urn:oasis:names:tc:SAML:2.0:nameidformat:persistent should be
urn:oasis:names:tc:SAML:2.0:nameid-format:persistent. And two: the test in
t/07-logout-request.t should test that SPNameQualifier and NameQualifier are
actually set and they are now not set (for the test that is). By fixing
the typo, we need to change the tests to test the correct thing.
Closes: #213
Signed-off-by: Wesley Schwengle <waterkip@cpan.org>1 parent 6f7d6cb commit 67438b5
File tree
3 files changed
+12
-9
lines changed- lib/Net/SAML2/Protocol
- t
3 files changed
+12
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
48 | 45 | | |
49 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments