refactor(mcp): use serialize_user_object in get_instance_info (#38613)

This commit is contained in:
Amin Ghadersohi
2026-03-13 08:59:21 +01:00
committed by Michael S. Molina
parent 4ce0627c73
commit 9b6c4486c0
2 changed files with 3 additions and 19 deletions

View File

@@ -221,6 +221,7 @@ class TestGetInstanceInfoCurrentUserViaMCP:
mock_g_user.first_name = "Sophie"
mock_g_user.last_name = "Beaumont"
mock_g_user.email = "sophie@preset.io"
mock_g_user.active = True
mock_g_user.roles = [mock_role]
with (