[java-idp-testbed COMMIT] /trunk/src/test/java/idp/saml2/SAML2AttributeQueryFlowTest.java

noreply at shibboleth.net noreply at shibboleth.net
Mon Jun 2 18:37:34 EDT 2014


Author: tzeller
Date: Mon Jun  2 18:37:33 2014
New Revision: 252

URL: http://svn.shibboleth.net/view/java-idp-testbed?rev=252&view=rev
Log:
Remove TODO.

Modified:
    trunk/src/test/java/idp/saml2/SAML2AttributeQueryFlowTest.java

Modified: trunk/src/test/java/idp/saml2/SAML2AttributeQueryFlowTest.java
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/test/java/idp/saml2/SAML2AttributeQueryFlowTest.java?rev=252&r1=251&r2=252&view=diff
==============================================================================
--- trunk/src/test/java/idp/saml2/SAML2AttributeQueryFlowTest.java (original)
+++ trunk/src/test/java/idp/saml2/SAML2AttributeQueryFlowTest.java Mon Jun  2 18:37:33 2014
@@ -29,8 +29,6 @@
 import org.opensaml.saml.saml2.core.Assertion;
 import org.opensaml.saml.saml2.core.AttributeQuery;
 import org.opensaml.saml.saml2.core.NameID;
-import org.opensaml.saml.saml2.core.Response;
-import org.opensaml.saml.saml2.core.StatusCode;
 import org.opensaml.saml.saml2.core.Subject;
 import org.opensaml.saml.saml2.core.SubjectConfirmation;
 import org.opensaml.saml.saml2.core.SubjectConfirmationData;
@@ -96,13 +94,6 @@
         request.setContent(requestContent.getBytes("UTF-8"));
     }
 
-    // TODO why is there no issuer in the response ?
-    @Override public void assertResponse(@Nullable final Response response) {
-        Assert.assertNotNull(response);
-        // TODO Assert.assertEquals(response.getIssuer().getValue(), IDP_ENTITY_ID);
-        Assert.assertEquals(response.getStatus().getStatusCode().getValue(), StatusCode.SUCCESS_URI);
-    }
-
     /**
      * Assert that the nameID value is "jdoe" and that the name qualifier, SP name qualifier, and name format are null.
      * 



More information about the commits mailing list