mirror of https://github.com/OpenVidu/openvidu.git
openvidu-java-client: fix expected error test
parent
6d438fb61a
commit
4c4bf277e2
|
|
@ -36,7 +36,7 @@ public class OpenViduConstructorTest {
|
||||||
RuntimeException thrown = Assertions.assertThrows(RuntimeException.class, () -> {
|
RuntimeException thrown = Assertions.assertThrows(RuntimeException.class, () -> {
|
||||||
new OpenVidu("WRONG_URL", "MY_SECRET");
|
new OpenVidu("WRONG_URL", "MY_SECRET");
|
||||||
});
|
});
|
||||||
Assertions.assertEquals("The hostname \"WRONG_URL\" is not a valid URL: no protocol: WRONG_URL",
|
Assertions.assertEquals("The hostname \"WRONG_URL\" is not a valid URL: URI is not absolute",
|
||||||
thrown.getMessage());
|
thrown.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue