diff --git a/tests/test-server/test_functions_mapper.py b/tests/test-server/test_functions_mapper.py index 3b744410..beb883be 100644 --- a/tests/test-server/test_functions_mapper.py +++ b/tests/test-server/test_functions_mapper.py @@ -81,7 +81,7 @@ async def func( ): if a.get("DO_NOT_LINK"): return ShouldNotAutomaticallyLink() - if l is not None and l.get("id") == o.getUserId(): + if l is not None and l.id == o.get_user_id(): return ShouldNotAutomaticallyLink() return ShouldAutomaticallyLink(should_require_verification=False) @@ -91,7 +91,7 @@ async def func( ): if a.get("DO_NOT_LINK"): return ShouldNotAutomaticallyLink() - if l is not None and l.get("id") == o.getUserId(): + if l is not None and l.id == o.get_user_id(): return ShouldNotAutomaticallyLink() return ShouldAutomaticallyLink(should_require_verification=True)