Skip to content

Commit

Permalink
BAEL-2886 Updated Integration test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoli committed May 18, 2019
1 parent 8ff89c0 commit d143f54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public void givenEndpointIsCalledTwiceAndResponseIsReturned_whenMongoDBIsQueried
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]));
}

}

0 comments on commit d143f54

Please sign in to comment.