openvidu-java-client: fix expected error test

This commit is contained in:
pabloFuente 2025-11-11 18:14:21 +01:00
parent 6d438fb61a
commit 4c4bf277e2

View File

@ -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());
}