We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d697b1 commit fd4ed83Copy full SHA for fd4ed83
src/test/java/io/getstream/ModerationTest.java
@@ -205,10 +205,7 @@ void testUnbanUser() throws Exception {
205
206
// snippet-start: UnbanUser
207
UnbanRequest request =
208
- UnbanRequest.builder()
209
- .TargetUserID(testUserId)
210
- .unbannedByID(testModeratorId)
211
- .build();
+ UnbanRequest.builder().TargetUserID(testUserId).unbannedByID(testModeratorId).build();
212
213
UnbanResponse response = moderation.unban(request).execute().getData();
214
// snippet-end: UnbanUser
@@ -229,4 +226,3 @@ void testQueryModerationLogs() throws Exception {
229
226
Assertions.assertNotNull(response);
230
227
}
231
228
232
-
0 commit comments