summaryrefslogtreecommitdiffstats
path: root/java/tests
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2004-07-23 16:21:43 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2004-07-23 16:21:43 +0000
commit0dfb6a9d007d35b3d314abf1056dae09d65ba2c2 (patch)
treed50c1ff3a744550331d26ccc28b8590c2a453d4e /java/tests
parent41b36be1f4a88dde81ef10ba83199afd37e94524 (diff)
downloadlasso-0dfb6a9d007d35b3d314abf1056dae09d65ba2c2.tar.gz
lasso-0dfb6a9d007d35b3d314abf1056dae09d65ba2c2.tar.xz
lasso-0dfb6a9d007d35b3d314abf1056dae09d65ba2c2.zip
First non regression test that supports full logout procedure... and shows a
bug.
Diffstat (limited to 'java/tests')
-rw-r--r--java/tests/LoginTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/tests/LoginTest.java b/java/tests/LoginTest.java
index 328a0f15..cf853c49 100644
--- a/java/tests/LoginTest.java
+++ b/java/tests/LoginTest.java
@@ -183,6 +183,8 @@ public class LoginTest extends TestCase {
assertNotNull(idpUserContext);
idpLogoutContext = new LassoLogout(idpContext, idpUserContext, Lasso.providerTypeIdp);
assertEquals(idpLogoutContext.processRequestMsg(soapRequestMsg, Lasso.httpMethodSoap), 0);
+ // There is no other service provider from which the user must be logged out.
+ assertEquals(idpLogoutContext.getNextProviderId(), null);
assertEquals(idpLogoutContext.buildResponseMsg(), 0);
soapResponseMsg = idpLogoutContext.getMsgBody();