Skip to content

Commit 3e37a72

Browse files
committed
Fix unit test
1 parent 0a444a5 commit 3e37a72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unit_tests/sources/declarative/partition_routers/test_substream_partition_router.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def test_substream_partition_router_invalid_parent_record_type():
415415
# Case 3: Initial state with global `state`, no migration expected
416416
(
417417
{"state": {"updated": "2023-05-27T00:00:00Z"}},
418-
{},
418+
{"parent_stream_cursor": "2023-05-27T00:00:00Z"},
419419
),
420420
# Case 4: Initial state with per-partition `states`, no migration expected
421421
(
@@ -471,7 +471,7 @@ def test_substream_partition_router_invalid_parent_record_type():
471471
"use_global_cursor": True,
472472
"state": {"updated": "2023-05-27T00:00:00Z"},
473473
},
474-
{},
474+
{"parent_stream_cursor": "2023-05-27T00:00:00Z"},
475475
),
476476
],
477477
ids=[

0 commit comments

Comments
 (0)