Skip to content

Commit

Permalink
adjust test to use eventType.HTTP_REQUEST
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch committed Jan 8, 2025
1 parent 8b319b4 commit 6f21154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions port_ocean/tests/core/handlers/mixins/test_sync_raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ async def test_register_raw(
},
]

async with event_context(EventType.RESYNC, trigger_type="machine") as event:
async with event_context(EventType.HTTP_REQUEST, trigger_type="machine") as event:
# Use patch to mock the method instead of direct assignment
with patch.object(
mock_sync_raw_mixin_with_jq_processor.port_app_config_handler,
Expand Down Expand Up @@ -504,7 +504,7 @@ async def test_unregister_raw(
},
]

async with event_context(EventType.RESYNC, trigger_type="machine") as event:
async with event_context(EventType.HTTP_REQUEST, trigger_type="machine") as event:
# Use patch to mock the method instead of direct assignment
with patch.object(
mock_sync_raw_mixin_with_jq_processor.port_app_config_handler,
Expand Down

0 comments on commit 6f21154

Please sign in to comment.