Skip to content

Commit

Permalink
Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
congminh1254 committed Aug 9, 2023
1 parent c15ed18 commit 335ecab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/java/com/box/sdk/BoxCollaborationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ public void testCreateAndEditCollaborationSucceeds() {

JsonObject updateBody = new JsonObject()
.add("role", BoxCollaboration.Role.VIEWER.toJSONString())
.add("expires_at", BoxDateFormat.format(expiresAt))
.add("is_access_only", true);
.add("expires_at", BoxDateFormat.format(expiresAt));

wireMockRule.stubFor(WireMock.post(WireMock.urlPathEqualTo(createCollaborationURL))
.withRequestBody(WireMock.equalToJson(createBody.toString()))
Expand Down

0 comments on commit 335ecab

Please sign in to comment.