Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewBemis committed Jul 9, 2024
1 parent 4a62c07 commit d495710
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui-participant/src/Navbar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ describe('AccountOptionsDropdown', () => {
expect(mockSigninRedirect).toHaveBeenCalledWith({
redirectMethod: 'replace',
extraQueryParams: {
originUrl: 'http://localhost',
portalEnvironment: 'live',
portalShortcode: undefined,
// eslint-disable-next-line camelcase
ui_locales: 'es'
Expand Down
3 changes: 3 additions & 0 deletions ui-participant/src/landing/registration/Registration.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ describe('Registration', () => {
redirectMethod: 'replace',
extraQueryParams: {
option: 'signup',
originUrl: 'http://localhost',
portalEnvironment: 'live',
portalShortcode: undefined,
// eslint-disable-next-line camelcase
ui_locales: 'dev'
}
Expand Down
2 changes: 2 additions & 0 deletions ui-participant/src/login/Login.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ describe('Login', () => {
expect(mockSigninRedirect).toHaveBeenCalledWith({
redirectMethod: 'replace',
extraQueryParams: {
originUrl: 'http://localhost',
portalEnvironment: 'live',
portalShortcode: undefined,
// eslint-disable-next-line camelcase
ui_locales: 'dev'
Expand Down

0 comments on commit d495710

Please sign in to comment.