@@ -52,7 +52,7 @@ describe('api/account_management/startEnrollPhoneMfa', () => {
52
52
afterEach ( mockFetch . tearDown ) ;
53
53
54
54
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 , {
56
56
phoneSessionInfo : {
57
57
sessionInfo : 'session-info'
58
58
}
@@ -72,7 +72,7 @@ describe('api/account_management/startEnrollPhoneMfa', () => {
72
72
73
73
it ( 'should handle errors' , async ( ) => {
74
74
const mock = mockEndpoint (
75
- Endpoint . START_PHONE_MFA_ENROLLMENT ,
75
+ Endpoint . START_MFA_ENROLLMENT ,
76
76
{
77
77
error : {
78
78
code : 400 ,
@@ -116,7 +116,7 @@ describe('api/account_management/finalizeEnrollPhoneMfa', () => {
116
116
afterEach ( mockFetch . tearDown ) ;
117
117
118
118
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 , {
120
120
idToken : 'id-token' ,
121
121
refreshToken : 'refresh-token'
122
122
} ) ;
@@ -136,7 +136,7 @@ describe('api/account_management/finalizeEnrollPhoneMfa', () => {
136
136
137
137
it ( 'should handle errors' , async ( ) => {
138
138
const mock = mockEndpoint (
139
- Endpoint . FINALIZE_PHONE_MFA_ENROLLMENT ,
139
+ Endpoint . FINALIZE_MFA_ENROLLMENT ,
140
140
{
141
141
error : {
142
142
code : 400 ,
0 commit comments