Skip to content

Commit

Permalink
fix: Fix iframeAPI tests and use of jwt.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Jun 21, 2023
1 parent 622e2de commit 8642b04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/test/java/org/jitsi/meet/test/IFrameAPIBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,10 @@ protected JitsiMeetUrl getIFrameUrl(JsonObject userInfo, String password, String
throw new RuntimeException(e);
}

JsonObject defaultParams = new JitsiMeetUrl().appendConfig(WebParticipant.DEFAULT_CONFIG, false)
.appendConfig(config)
.getFragmentParamsAsJson();
JsonObject defaultParams = getJitsiMeetUrl()
.appendConfig(WebParticipant.DEFAULT_CONFIG, false)
.appendConfig(config)
.getFragmentParamsAsJson();

iFrameUrl.addRoomParameter("domain", domain);
iFrameUrl.addRoomParameter("room", currentRoomName);
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/files/iframeAPITest.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

var domain = params.get("domain");
var options = {
jwt: params.get("jwt"),
roomName: params.get("room"),
configOverwrite: config,
interfaceConfigOverwrite: interfaceConfig,
Expand Down

0 comments on commit 8642b04

Please sign in to comment.