Skip to content

Commit 57fc2f5

Browse files
committed
fix: test mock for client id
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 209aec6 commit 57fc2f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/renderer/utils/auth/utils.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe('renderer/utils/auth/utils.ts', () => {
6767

6868
beforeEach(() => {
6969
// Mock OAUTH_DEVICE_FLOW_CLIENT_ID value
70-
Constants.OAUTH_DEVICE_FLOW_CLIENT_ID = 'mock-oauth-client-id' as ClientID;
70+
Constants.OAUTH_DEVICE_FLOW_CLIENT_ID = 'FAKE_CLIENT_ID_123' as ClientID;
7171
});
7272

7373
afterEach(() => {
@@ -432,7 +432,7 @@ describe('renderer/utils/auth/utils.ts', () => {
432432
method: 'GitHub App',
433433
} as Account),
434434
).toBe(
435-
'https://github.com/settings/connections/applications/mock-oauth-client-id',
435+
'https://github.com/settings/connections/applications/FAKE_CLIENT_ID_123',
436436
);
437437

438438
expect(

0 commit comments

Comments
 (0)