File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
src/test/java/io/getstream/chat/java Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -330,6 +330,21 @@ void whenMutingChannel_thenIsMuted() {
330330 .findFirst ()
331331 .get ());
332332 Assertions .assertTrue (channelMember .getNotificationsMuted ());
333+
334+ ChannelMember chm =
335+ Assertions .assertDoesNotThrow (
336+ () ->
337+ Channel .queryMembers ()
338+ .filterCondition ("notifications_muted" , true )
339+ .id (channel .getId ())
340+ .type (channel .getType ())
341+ .request ()
342+ .getMembers ()
343+ .stream ()
344+ .filter (cm -> cm .getUserId ().equals (testUserRequestObject .getId ()))
345+ .findFirst ()
346+ .get ());
347+ Assertions .assertTrue (chm .getNotificationsMuted ());
333348 }
334349
335350 private boolean isChannelMutedForTestUser (String channelType , String channelId ) {
You can’t perform that action at this time.
0 commit comments