diff --git a/dapr/actor/runtime/mock_actor.py b/dapr/actor/runtime/mock_actor.py index 6c27c7fb..c0635578 100644 --- a/dapr/actor/runtime/mock_actor.py +++ b/dapr/actor/runtime/mock_actor.py @@ -39,7 +39,7 @@ async def set_state(self, data: dict) -> None: await self._state_manager.set_state('state', data) await self._state_manager.save_state() - mock_actor = create_mock_actor(SomeActor) + mock_actor = create_mock_actor(SomeActor, "actor_1") assert mock_actor._state_manager._mock_state == {} await mock_actor.set_state({"test":10}) assert mock_actor._state_manager._mock_state == {"test":10}