Unified · Split
| @@ -391,7 +391,7 @@ layer(TestLayer)("OpenAPI oauth refresh", (it) => { · 390 unmodified lines | ||
| 391 | 391 | ), |
| 392 | 392 | ); |
| 393 | 393 | expect(flipped.provider).toBe("openapi:oauth2"); |
| 394 | − expect(flipped.message).toBe("OAuth refresh failed"); | |
| 394 | + expect(flipped.message).toMatch(/OAuth refresh failed: .*revoked/i); | |
| 395 | 395 | }), |
| 396 | 396 | ); |
| 397 | 397 | }); |