Skip to content

Commit b431bf1

Browse files
committed
Fix test
1 parent f3bffa1 commit b431bf1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stream_chat/tests/async_chat/test_query_threads.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async def test_query_threads(
2626
sort_conditions = [{"field": "created_at", "direction": -1}]
2727

2828
response = await client.query_threads(
29-
filter=filter_conditions, sort=sort_conditions
29+
filter=filter_conditions, sort=sort_conditions, user_id=random_user["id"]
3030
)
3131

3232
assert isinstance(response, StreamResponse)
@@ -66,6 +66,7 @@ async def test_query_threads_with_options(
6666
filter=filter_conditions,
6767
sort=sort_conditions,
6868
limit=1,
69+
user_id=random_user["id"]
6970
)
7071

7172
assert isinstance(response, StreamResponse)

0 commit comments

Comments
 (0)