From 0f770eb8884298b176c21c8df4d5d9d91fbeb41e Mon Sep 17 00:00:00 2001 From: Ian Young <ian@iay.org.uk> Date: Wed, 11 Oct 2017 22:39:53 +0100 Subject: [PATCH] Add a test case for incommon/inc-meta#58 --- .../mda/dom/saml/shib/ScopeValidationStageLitmusTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/uk/org/iay/incommon/mda/dom/saml/shib/ScopeValidationStageLitmusTest.java b/src/test/java/uk/org/iay/incommon/mda/dom/saml/shib/ScopeValidationStageLitmusTest.java index e9d631e..87add89 100644 --- a/src/test/java/uk/org/iay/incommon/mda/dom/saml/shib/ScopeValidationStageLitmusTest.java +++ b/src/test/java/uk/org/iay/incommon/mda/dom/saml/shib/ScopeValidationStageLitmusTest.java @@ -139,6 +139,7 @@ public void litmusTests() throws Exception { bad("ac.uk", "scope is a public suffix"); bad("random.nonsense", "scope is not under a public suffix"); good("example.ac.uk"); + bad("adm.aau.dk@aau.dk"); // incommon/inc-meta#58 badRegexp("", "empty"); badRegexp(" "); @@ -166,7 +167,5 @@ public void litmusTests() throws Exception { goodRegexp("^.+\\.identityfor\\.co\\.uk$"); goodRegexp("^.+\\.rmunify\\.com$"); - // eduGAIN examples - } }