Author: anil.saldhana(a)jboss.com
Date: 2011-01-25 00:36:20 -0500 (Tue, 25 Jan 2011)
New Revision: 652
Modified:
integration-tests/trunk/picketlink-sts-tests/src/test/java/org/picketlink/test/integration/sts/PicketLinkSTSIntegrationUnitTestCase.java
Log:
use correct method name
Modified:
integration-tests/trunk/picketlink-sts-tests/src/test/java/org/picketlink/test/integration/sts/PicketLinkSTSIntegrationUnitTestCase.java
===================================================================
---
integration-tests/trunk/picketlink-sts-tests/src/test/java/org/picketlink/test/integration/sts/PicketLinkSTSIntegrationUnitTestCase.java 2011-01-25
05:36:02 UTC (rev 651)
+++
integration-tests/trunk/picketlink-sts-tests/src/test/java/org/picketlink/test/integration/sts/PicketLinkSTSIntegrationUnitTestCase.java 2011-01-25
05:36:20 UTC (rev 652)
@@ -594,9 +594,8 @@
else
{
X509DataType x509Data = (X509DataType) keyInfo.getContent().get(0);
- Assert.assertEquals("Unexpected X509 data content size", 1,
x509Data
- .getX509IssuerSerialOrX509SKIOrX509SubjectName().size());
- Object content =
x509Data.getX509IssuerSerialOrX509SKIOrX509SubjectName().get(0);
+ Assert.assertEquals("Unexpected X509 data content size", 1,
x509Data.getDataObjects().size());
+ Object content = x509Data.getDataObjects().get(0);
Assert.assertTrue("Unexpected X509 data content type", content
instanceof X509CertificateType);
byte[] encodedCertificate = ((X509CertificateType)
content).getEncodedCertificate();
Show replies by date