History

Resolve OAuth refresh integration assertion

Rhys Sullivan committed 6 months ago

Commit eddcffc1 parent 911d1561 file · +1 −1Browse files

Unified · Split

packages/plugins/openapi/src/sdk/oauth-refresh.test.ts+1−1
@@ -391,7 +391,7 @@ layer(TestLayer)("OpenAPI oauth refresh", (it) => { · 390 unmodified lines
391 ),391 ),
392 );392 );
393 expect(flipped.provider).toBe("openapi:oauth2");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});