Skip to content

Commit

Permalink
Attempt to fix failure on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani committed Nov 13, 2024
1 parent 87f5303 commit 90278ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/opentok/OpenTokTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2856,7 +2856,7 @@ public void testStopCaptions() throws Exception {
@Test
public void testVonageShim() throws Exception {
String appId = UUID.randomUUID().toString();
String testResourceDir = getClass().getResource("").getPath().replace("classes/java", "resources");
String testResourceDir = Paths.get(getClass().getResource("").toURI()).toString().replace("classes/java", "resources");
var privateKeyPath = Paths.get(testResourceDir, "application_key");
OpenTok vonage = new OpenTok(appId, privateKeyPath);
assertNotNull(vonage);
Expand Down

0 comments on commit 90278ac

Please sign in to comment.