Skip to content

Commit

Permalink
chore: fix failing test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienne-deriv committed Feb 7, 2025
1 parent af7d319 commit e409673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constants/__tests__/urls.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ describe('URLs', () => {

const oauthUrl = getOauthUrl();

expect(oauthUrl).toBe('https://qa.deriv.com/oauth2/authorize?app_id=67890&l=EN&&brand=deriv');
expect(oauthUrl).toBe('https://qa.deriv.com/oauth2/authorize?app_id=67890&l=EN&brand=deriv');
});

it('should return the default OAuth URL if appId and serverUrl are not set', () => {
Expand All @@ -136,7 +136,7 @@ describe('URLs', () => {

const oauthUrl = getOauthUrl();

expect(oauthUrl).toBe('https://qa.deriv.com/oauth2/authorize?app_id=67890&l=EN&&brand=deriv');
expect(oauthUrl).toBe('https://qa.deriv.com/oauth2/authorize?app_id=67890&l=EN&brand=deriv');
});
});

Expand Down

0 comments on commit e409673

Please sign in to comment.