Skip to content

Commit

Permalink
[18.0][MIG] auth_saml: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BT-dlagin committed Jan 8, 2025
1 parent 66abe23 commit b9724cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions auth_saml/tests/test_pysaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,7 @@ def test_disallow_user_password_when_changing_settings(self):

def test_saml_metadata_invalid_provider(self):
"""Accessing SAML metadata with an invalid provider ID should return 404."""
response = self.url_open(
f"/auth_saml/metadata?p=999999&d={self.env.cr.dbname}"
)
response = self.url_open(f"/auth_saml/metadata?p=999999&d={self.env.cr.dbname}")
self.assertEqual(response.status_code, 404)
self.assertIn("Unknown provider", response.text)

Expand Down

0 comments on commit b9724cf

Please sign in to comment.