openvidu-java-client: fix expected error test
This commit is contained in:
parent
6d438fb61a
commit
4c4bf277e2
@ -36,7 +36,7 @@ public class OpenViduConstructorTest {
|
||||
RuntimeException thrown = Assertions.assertThrows(RuntimeException.class, () -> {
|
||||
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());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user