@@ -52,7 +52,7 @@ describe('api/account_management/startEnrollPhoneMfa', () => {
5252 afterEach ( mockFetch . tearDown ) ;
5353
5454 it ( 'should POST to the correct endpoint' , async ( ) => {
55- const mock = mockEndpoint ( Endpoint . START_PHONE_MFA_ENROLLMENT , {
55+ const mock = mockEndpoint ( Endpoint . START_MFA_ENROLLMENT , {
5656 phoneSessionInfo : {
5757 sessionInfo : 'session-info'
5858 }
@@ -72,7 +72,7 @@ describe('api/account_management/startEnrollPhoneMfa', () => {
7272
7373 it ( 'should handle errors' , async ( ) => {
7474 const mock = mockEndpoint (
75- Endpoint . START_PHONE_MFA_ENROLLMENT ,
75+ Endpoint . START_MFA_ENROLLMENT ,
7676 {
7777 error : {
7878 code : 400 ,
@@ -116,7 +116,7 @@ describe('api/account_management/finalizeEnrollPhoneMfa', () => {
116116 afterEach ( mockFetch . tearDown ) ;
117117
118118 it ( 'should POST to the correct endpoint' , async ( ) => {
119- const mock = mockEndpoint ( Endpoint . FINALIZE_PHONE_MFA_ENROLLMENT , {
119+ const mock = mockEndpoint ( Endpoint . FINALIZE_MFA_ENROLLMENT , {
120120 idToken : 'id-token' ,
121121 refreshToken : 'refresh-token'
122122 } ) ;
@@ -136,7 +136,7 @@ describe('api/account_management/finalizeEnrollPhoneMfa', () => {
136136
137137 it ( 'should handle errors' , async ( ) => {
138138 const mock = mockEndpoint (
139- Endpoint . FINALIZE_PHONE_MFA_ENROLLMENT ,
139+ Endpoint . FINALIZE_MFA_ENROLLMENT ,
140140 {
141141 error : {
142142 code : 400 ,
0 commit comments