This commit is contained in:
2026-08-14 16:06:30 +08:00
parent 1c1c48f8d3
commit d1b4a4d3f3
26 changed files with 187 additions and 29 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ describe('platform IAM roles', () => {
it('supports owner password reset, logical archive, and audited impersonation contracts', async () => {
const password = { newPassword: 'NewPassword#2026', forceChangePassword: true }
const archivedTenant = { id: '190000000000000099', tenantCode: 'TEN99', tenantName: '测试客户', status: 'DISABLED' }
const archivedTenant = { id: '190000000000000099', tenantCode: 'TEN99', tenantName: '测试客户', status: 'ARCHIVED' }
const impersonation = { code: 'ticket-code', ticketId: 'ticket-id', expiresIn: 60 }
vi.mocked(http.put).mockResolvedValue({ code: '200', message: 'success', data: null })
vi.mocked(http.post)