Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed May 31, 2024
1 parent d3bfd52 commit ceef89a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public void testSetIceAdapters() throws Exception {
coturnServer.setCredential("test");
coturnServer.setCredentialType("token");
coturnServer.setUsername("0:1234");
coturnServer.setUrls(Set.of(URI.create("turn://test.coturn.com?transport=tcp")));
coturnServer.setUrls(Set.of(URI.create("turn:test.coturn.com?transport=tcp")));

instance.setIceServers(List.of(coturnServer));

Expand All @@ -197,7 +197,7 @@ public void testSetIceAdapters() throws Exception {

assertEquals(coturnServer.getUsername(), iceMap.get("username"));
assertEquals(coturnServer.getCredential(), iceMap.get("credential"));
assertEquals(List.of("turn://test.coturn.com?transport=tcp"), iceMap.get("urls"));
assertEquals(List.of("turn:test.coturn.com?transport=tcp"), iceMap.get("urls"));
}

}

0 comments on commit ceef89a

Please sign in to comment.