History

Resolve OAuth refresh integration assertion

Rhys Sullivan committed 6 months ago

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

Showing the changes to packages/plugins/openapi/src (1 of 1 file). Show all

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
391391 ),
392392 );
393393 expect(flipped.provider).toBe("openapi:oauth2");
394− expect(flipped.message).toBe("OAuth refresh failed");
394+ expect(flipped.message).toMatch(/OAuth refresh failed: .*revoked/i);
395395 }),
396396 );
397397 });

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t