test(liveshare-protocol): neutralize provider-specific fixture subjects

The recorded frames no longer name a provider-specific subject prefix; the cases keep their shape
with a neutral subject id.
This commit is contained in:
mektpoy committed 2026-10-23 16:13:23 +08:00
1 parent e803c2647a
commit abb9d0c50f
4 files changed
+4 -4

No files matched your search

@@ -12,7 +12,7 @@
"actor": {
"providerId": "example",
"tenantId": "tenant-a",
"subjectId": "ou_viewer"
"subjectId": "user_viewer"
}
},
"refusal": null
@@ -12,7 +12,7 @@
"gatewayToken": "token-one",
"ownerDisplayName": "Owner",
"allowedSubjectIds": [
"ou_viewer",
"user_viewer",
"example:tenant-a:user-other"
],
"sessionMode": "write",
@@ -12,7 +12,7 @@
"actor": {
"providerId": "example",
"tenantId": "tenant-a",
"subjectId": "ou_viewer",
"subjectId": "user_viewer",
"credential": "signed-owner-verified-token"
}
},
@@ -6,7 +6,7 @@
"id": 7,
"shareId": "share-one",
"body": { "op": "stream-open", "id": 1, "endpoint": "trajectory", "payload": {} },
"actor": { "providerId": "example", "tenantId": "tenant-a", "subjectId": "ou_viewer" }
"actor": { "providerId": "example", "tenantId": "tenant-a", "subjectId": "user_viewer" }
},
"required": ["type", "id", "shareId", "actor"],
"optional": ["body"]