This commit is contained in:
2026-08-10 12:24:18 +08:00
parent 79435fe474
commit 88788dc473
7 changed files with 30 additions and 26 deletions
@@ -20,6 +20,10 @@ test('declares the documented merchant role and member endpoints', () => {
assert.match(source, /url: `\/merchant\/v1\/iam\/members\/\$\{membershipId\}\/status`/)
assert.match(source, /url: `\/merchant\/v1\/iam\/members\/\$\{membershipId\}\/password`/)
assert.match(source, /url: '\/merchant\/v1\/iam\/profile'/)
assert.match(source, /url: '\/merchant\/v1\/iam\/authorization\/permissions'/)
assert.match(authSource, /getCurrentMerchantPermissionCodes\(\)/)
assert.doesNotMatch(authSource, /payload\.permissions/)
assert.doesNotMatch(authSource, /payload\.roles/)
})
test('supports tenant profile updates and authenticated qualification downloads', () => {