Skip to content

Commit c5e07df

Browse files
committed
test(credentials): match the stable part of the subject-in-use refusal
1 parent f5b5a0b commit c5e07df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/lib/credentials/workload-identity/subject.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ describe('keyless subject uniqueness across providers', () => {
259259
'refuses a subject a live $providerId credential already holds',
260260
async ({ providerId, secret }) => {
261261
await expect(claim([{ id: 'held', providerId, secret }])).rejects.toThrow(
262-
/Another credential already uses this trust setup/
262+
/already uses this trust setup/
263263
)
264264
}
265265
)

0 commit comments

Comments
 (0)