BAEL-2886 Updated Integration test cases
This commit is contained in:
parent
8ff89c0c05
commit
d143f54a51
|
@ -35,8 +35,8 @@ public class SpringSessionMongoDBIntegrationTest {
|
|||
repository.findById(getSessionId(set_cookie)).getAttribute("count").toString());
|
||||
}
|
||||
|
||||
private String getSessionId(String set_cookie) {
|
||||
return new String(Base64.getDecoder().decode(set_cookie.split(";")[0].split("=")[1]));
|
||||
private String getSessionId(String cookie) {
|
||||
return new String(Base64.getDecoder().decode(cookie.split(";")[0].split("=")[1]));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue