mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: openvidu-java-client test fix
parent
52d98d5006
commit
33d5c55b06
|
@ -2104,7 +2104,7 @@ public class OpenViduTestAppE2eTest {
|
|||
String widthAndHeight = user.getEventManager().getDimensionOfViewport();
|
||||
JSONObject obj = (JSONObject) new JSONParser().parse(widthAndHeight);
|
||||
Assert.assertEquals(
|
||||
"{\"width\":" + ((long) obj.get("width") - 1) + ",\"height\":" + ((long) obj.get("height") - 1) + "}",
|
||||
"{\"width\":" + (long) obj.get("width") + ",\"height\":" + ((long) obj.get("height") - 1) + "}",
|
||||
pub.getVideoDimensions());
|
||||
Assert.assertEquals(new Integer(30), pub.getFrameRate());
|
||||
Assert.assertEquals("SCREEN", pub.getTypeOfVideo());
|
||||
|
|
Loading…
Reference in New Issue