Skip to content

Commit 7836036

Browse files
committed
fix: test
1 parent e0ddec1 commit 7836036

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stream_chat/tests/test_client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ def test_update_user_partial(self, client: StreamChat, random_user: Dict):
179179

180180
def test_update_user_partial_with_team(self, client: StreamChat, random_user: Dict):
181181
user_id = random_user["id"]
182+
# add user to the team
183+
client.update_user_partial({"id": user_id, "set": {"teams": ["blue"]}})
184+
182185
response = client.update_user_partial(
183186
{"id": user_id, "set": {"team": "blue", "teams_role": {"blue": "admin"}}}
184187
)

0 commit comments

Comments
 (0)