Skip to content

Commit bebdcb1

Browse files
Update dapr/actor/runtime/mock_actor.py
Whoops missed this Co-authored-by: Elena Kolevska <[email protected]> Signed-off-by: Lorenzo Curcio <[email protected]>
1 parent 6cebadd commit bebdcb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dapr/actor/runtime/mock_actor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async def set_state(self, data: dict) -> None:
3939
await self._state_manager.set_state('state', data)
4040
await self._state_manager.save_state()
4141
42-
mock_actor = create_mock_actor(SomeActor)
42+
mock_actor = create_mock_actor(SomeActor, "actor_1")
4343
assert mock_actor._state_manager._mock_state == {}
4444
await mock_actor.set_state({"test":10})
4545
assert mock_actor._state_manager._mock_state == {"test":10}

0 commit comments

Comments
 (0)