diff options
Diffstat (limited to 'bindings/java/tests/LoginTest.java')
| -rw-r--r-- | bindings/java/tests/LoginTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bindings/java/tests/LoginTest.java b/bindings/java/tests/LoginTest.java index dbe4acef..33d0d8ca 100644 --- a/bindings/java/tests/LoginTest.java +++ b/bindings/java/tests/LoginTest.java @@ -212,7 +212,7 @@ public class LoginTest extends TestCase { idp = Server.newFromDump(idpDump); assertNotNull(idp); idpLogout = new Logout(idp); - idpLogout.processRequestMsg(soapRequestMsg); + assertEquals(0, idpLogout.processRequestMsg(soapRequestMsg)); assertEquals(nameIdentifier, ((SamlNameIdentifier)idpLogout.getNameIdentifier()).getContent()); assertNotNull(idpIdentityDump); idpLogout.setIdentityFromDump(idpIdentityDump); @@ -237,6 +237,7 @@ public class LoginTest extends TestCase { String identityProviderDump = generateIdentityProviderDump(); Server server = Server.newFromDump(identityProviderDump); Map providers = server.getProviders(); + assertNotNull(providers); } public static Test suite() { |
