openvidu-test-e2e: openvidu-java-client test fix

pull/203/head
pabloFuente 2019-02-11 17:17:50 +01:00
parent 52d98d5006
commit 33d5c55b06
1 changed files with 1 additions and 1 deletions

View File

@ -2104,7 +2104,7 @@ public class OpenViduTestAppE2eTest {
String widthAndHeight = user.getEventManager().getDimensionOfViewport(); String widthAndHeight = user.getEventManager().getDimensionOfViewport();
JSONObject obj = (JSONObject) new JSONParser().parse(widthAndHeight); JSONObject obj = (JSONObject) new JSONParser().parse(widthAndHeight);
Assert.assertEquals( 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()); pub.getVideoDimensions());
Assert.assertEquals(new Integer(30), pub.getFrameRate()); Assert.assertEquals(new Integer(30), pub.getFrameRate());
Assert.assertEquals("SCREEN", pub.getTypeOfVideo()); Assert.assertEquals("SCREEN", pub.getTypeOfVideo());