Skip to content

Commit 88d5e20

Browse files
committed
Fixed test case
1 parent 9a6616d commit 88d5e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_result_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_fetchone_no_data(self, conn):
6868
def test_fetchone_empty_projection(self, conn):
6969
"""Test fetchone with empty projection (SELECT *)"""
7070
db = conn.database
71-
command_result = db.command({"find": "users", "limit": 1})
71+
command_result = db.command({"find": "users", "limit": 1, "sort": {"_id": 1}})
7272

7373
query_plan = QueryPlan(collection="users", projection_stage=self.PROJECTION_EMPTY)
7474
result_set = ResultSet(command_result=command_result, query_plan=query_plan)

0 commit comments

Comments
 (0)