diff --git a/stream_chat/tests/test_channel.py b/stream_chat/tests/test_channel.py index d575cd9..efab073 100644 --- a/stream_chat/tests/test_channel.py +++ b/stream_chat/tests/test_channel.py @@ -382,6 +382,8 @@ def test_pin_channel( self, client: StreamChat, channel: Channel, random_users: List[Dict] ): user_id = random_users[0]["id"] + channel.add_members([user_id]) + # Pin the channel response = channel.pin(user_id) assert response is not None