summaryrefslogtreecommitdiffstats
path: root/java/tests/LoginTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/tests/LoginTest.java')
-rw-r--r--java/tests/LoginTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/tests/LoginTest.java b/java/tests/LoginTest.java
index 4585639e..5cd93f54 100644
--- a/java/tests/LoginTest.java
+++ b/java/tests/LoginTest.java
@@ -86,7 +86,7 @@ public class LoginTest extends TestCase {
Logout idpLogout, spLogout;
SamlAssertion assertion;
Server idp, sp;
- Session idpSession, spSession;
+ Session spSession;
String artifact, authenticationMethod, authnRequestQuery, authnRequestUrl, idpDump,
idpIdentityDump, idpRemoteProviderId, idpSessionDump, nameIdentifier, relayState,
responseQuery, responseUrl, soapEndpoint, soapResponseMsg, soapRequestMsg,
@@ -149,7 +149,9 @@ public class LoginTest extends TestCase {
spLogin.initRequest(responseQuery, method);
spLogin.buildRequestMsg();
soapEndpoint = spLogin.getMsgUrl();
+ assertNotNull(soapEndpoint);
soapRequestMsg = spLogin.getMsgBody();
+ assertNotNull(soapRequestMsg);
// Identity provider SOAP endpoint.
requestType = lasso.getRequestTypeFromSoapMsg(soapRequestMsg);