mirror of https://github.com/OpenVidu/openvidu.git
updated getSessionId test case
parent
b779717d5f
commit
7e34d7504e
|
@ -97,7 +97,7 @@ public class SessionGarbageCollectorIntegrationTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getSessionId() {
|
private String getSessionId() {
|
||||||
String stringResponse = (String) sessionRestController.initializeSession(new HashMap<>()).getBody();
|
String stringResponse = (String) sessionRestController.initializeSession(new HashMap<>(), new javax.servlet.http.HttpServletRequest()).getBody();
|
||||||
return new Gson().fromJson(stringResponse, JsonObject.class).get("id").getAsString();
|
return new Gson().fromJson(stringResponse, JsonObject.class).get("id").getAsString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue