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

Correctly test NameID attributes #214

Merged
merged 2 commits into from
Apr 20, 2024

Conversation

waterkip
Copy link
Collaborator

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

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: perl-net-saml2#213

Signed-off-by: Wesley Schwengle <waterkip@cpan.org>
Signed-off-by: Wesley Schwengle <waterkip@cpan.org>
Copy link
Contributor

@timlegge timlegge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@waterkip waterkip merged commit 05ad9e3 into perl-net-saml2:master Apr 20, 2024
4 checks passed
@waterkip waterkip deleted the GH-213-update_typo branch April 22, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typo in LogoutReponse module
2 participants