openvidu-java-client: fix expected error test

v2
pabloFuente 2025-11-11 18:14:21 +01:00
parent 6d438fb61a
commit 4c4bf277e2
1 changed files with 1 additions and 1 deletions

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