@@ -30,7 +30,7 @@ describe('core/action_code_url', () => {
30
30
'oobCode=CODE&mode=signIn&apiKey=API_KEY&' +
31
31
'continueUrl=' +
32
32
encodeURIComponent ( continueUrl ) +
33
- '&languageCode =en&tenantId=TENANT_ID&state=bla' ;
33
+ '&lang =en&tenantId=TENANT_ID&state=bla' ;
34
34
const actionCodeUrl = ActionCodeURL . parseLink ( actionLink ) ;
35
35
expect ( actionCodeUrl ! . operation ) . to . eq ( ActionCodeOperation . EMAIL_SIGNIN ) ;
36
36
expect ( actionCodeUrl ! . code ) . to . eq ( 'CODE' ) ;
@@ -46,7 +46,7 @@ describe('core/action_code_url', () => {
46
46
const actionLink =
47
47
'https://www.example.com/finishSignIn?' +
48
48
'oobCode=CODE&mode=signIn&apiKey=API_KEY&' +
49
- 'languageCode =en' ;
49
+ 'lang =en' ;
50
50
const actionCodeUrl = ActionCodeURL . parseLink ( actionLink ) ;
51
51
expect ( actionCodeUrl ! . operation ) . to . eq (
52
52
ActionCodeOperation . EMAIL_SIGNIN
@@ -57,7 +57,7 @@ describe('core/action_code_url', () => {
57
57
const actionLink =
58
58
'https://www.example.com/finishSignIn?' +
59
59
'oobCode=CODE&mode=verifyAndChangeEmail&apiKey=API_KEY&' +
60
- 'languageCode =en' ;
60
+ 'lang =en' ;
61
61
const actionCodeUrl = ActionCodeURL . parseLink ( actionLink ) ;
62
62
expect ( actionCodeUrl ! . operation ) . to . eq (
63
63
ActionCodeOperation . VERIFY_AND_CHANGE_EMAIL
@@ -68,7 +68,7 @@ describe('core/action_code_url', () => {
68
68
const actionLink =
69
69
'https://www.example.com/finishSignIn?' +
70
70
'oobCode=CODE&mode=verifyEmail&apiKey=API_KEY&' +
71
- 'languageCode =en' ;
71
+ 'lang =en' ;
72
72
const actionCodeUrl = ActionCodeURL . parseLink ( actionLink ) ;
73
73
expect ( actionCodeUrl ! . operation ) . to . eq (
74
74
ActionCodeOperation . VERIFY_EMAIL
@@ -79,7 +79,7 @@ describe('core/action_code_url', () => {
79
79
const actionLink =
80
80
'https://www.example.com/finishSignIn?' +
81
81
'oobCode=CODE&mode=recoverEmail&apiKey=API_KEY&' +
82
- 'languageCode =en' ;
82
+ 'lang =en' ;
83
83
const actionCodeUrl = ActionCodeURL . parseLink ( actionLink ) ;
84
84
expect ( actionCodeUrl ! . operation ) . to . eq (
85
85
ActionCodeOperation . RECOVER_EMAIL
@@ -90,7 +90,7 @@ describe('core/action_code_url', () => {
90
90
const actionLink =
91
91
'https://www.example.com/finishSignIn?' +
92
92
'oobCode=CODE&mode=resetPassword&apiKey=API_KEY&' +
93
- 'languageCode =en' ;
93
+ 'lang =en' ;
94
94
const actionCodeUrl = ActionCodeURL . parseLink ( actionLink ) ;
95
95
expect ( actionCodeUrl ! . operation ) . to . eq (
96
96
ActionCodeOperation . PASSWORD_RESET
@@ -101,7 +101,7 @@ describe('core/action_code_url', () => {
101
101
const actionLink =
102
102
'https://www.example.com/finishSignIn?' +
103
103
'oobCode=CODE&mode=revertSecondFactorAddition&apiKey=API_KEY&' +
104
- 'languageCode =en' ;
104
+ 'lang =en' ;
105
105
const actionCodeUrl = ActionCodeURL . parseLink ( actionLink ) ;
106
106
expect ( actionCodeUrl ! . operation ) . to . eq (
107
107
ActionCodeOperation . REVERT_SECOND_FACTOR_ADDITION
0 commit comments