feat: use id for webapp (#27576)

This commit is contained in:
Xiyuan Chen
2025-10-29 01:45:40 -07:00
committed by GitHub
parent 1e9142c213
commit f260627660
2 changed files with 1 additions and 13 deletions

View File

@@ -35,9 +35,7 @@ class TestWebAppAuthService:
mock_enterprise_service.WebAppAuth.get_app_access_mode_by_id.return_value = type(
"MockWebAppAuth", (), {"access_mode": "private"}
)()
mock_enterprise_service.WebAppAuth.get_app_access_mode_by_code.return_value = type(
"MockWebAppAuth", (), {"access_mode": "private"}
)()
# Note: get_app_access_mode_by_code method was removed in refactoring
yield {
"passport_service": mock_passport_service,