Skip to content

Commit 81a3b51

Browse files
committed
fix: clear users list before adding new ones each time
this fixes restricted visibility tests failing
1 parent bb0e4eb commit 81a3b51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/io/getstream/chat/java/BasicTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ private static void createTestChannel() throws StreamException {
174174
}
175175

176176
static void upsertUsers() throws StreamException {
177+
testUsersRequestObjects.clear();
177178
testUserRequestObject =
178179
UserRequestObject.builder()
179180
.id(RandomStringUtils.randomAlphabetic(10))

0 commit comments

Comments
 (0)