@@ -3386,7 +3386,7 @@ describe('Parse.User testing', () => {
3386
3386
3387
3387
it ( 'should not retrieve hidden fields on GET users/me (#3432)' , done => {
3388
3388
const emailAdapter = {
3389
- sendVerificationEmail : ( ) => { } ,
3389
+ sendVerificationEmail : ( ) => { } ,
3390
3390
sendPasswordResetEmail : ( ) => Promise . resolve ( ) ,
3391
3391
sendMail : ( ) => Promise . resolve ( ) ,
3392
3392
} ;
@@ -3429,7 +3429,7 @@ describe('Parse.User testing', () => {
3429
3429
3430
3430
it ( 'should not retrieve hidden fields on GET users/id (#3432)' , done => {
3431
3431
const emailAdapter = {
3432
- sendVerificationEmail : ( ) => { } ,
3432
+ sendVerificationEmail : ( ) => { } ,
3433
3433
sendPasswordResetEmail : ( ) => Promise . resolve ( ) ,
3434
3434
sendMail : ( ) => Promise . resolve ( ) ,
3435
3435
} ;
@@ -3477,7 +3477,7 @@ describe('Parse.User testing', () => {
3477
3477
3478
3478
it ( 'should not retrieve hidden fields on login (#3432)' , done => {
3479
3479
const emailAdapter = {
3480
- sendVerificationEmail : ( ) => { } ,
3480
+ sendVerificationEmail : ( ) => { } ,
3481
3481
sendPasswordResetEmail : ( ) => Promise . resolve ( ) ,
3482
3482
sendMail : ( ) => Promise . resolve ( ) ,
3483
3483
} ;
@@ -3521,7 +3521,7 @@ describe('Parse.User testing', () => {
3521
3521
3522
3522
it ( 'should not allow updates to hidden fields' , async ( ) => {
3523
3523
const emailAdapter = {
3524
- sendVerificationEmail : ( ) => { } ,
3524
+ sendVerificationEmail : ( ) => { } ,
3525
3525
sendPasswordResetEmail : ( ) => Promise . resolve ( ) ,
3526
3526
sendMail : ( ) => Promise . resolve ( ) ,
3527
3527
} ;
@@ -3546,7 +3546,7 @@ describe('Parse.User testing', () => {
3546
3546
3547
3547
it ( 'should allow updates to fields with maintenanceKey' , async ( ) => {
3548
3548
const emailAdapter = {
3549
- sendVerificationEmail : ( ) => { } ,
3549
+ sendVerificationEmail : ( ) => { } ,
3550
3550
sendPasswordResetEmail : ( ) => Promise . resolve ( ) ,
3551
3551
sendMail : ( ) => Promise . resolve ( ) ,
3552
3552
} ;
@@ -3576,8 +3576,8 @@ describe('Parse.User testing', () => {
3576
3576
expect ( e . code ) . toBe ( Parse . Error . OBJECT_NOT_FOUND ) ;
3577
3577
expect (
3578
3578
e . message === 'Invalid username/password.' ||
3579
- e . message ===
3580
- 'Your account is locked due to multiple failed login attempts. Please try again after 1 minute(s)'
3579
+ e . message ===
3580
+ 'Your account is locked due to multiple failed login attempts. Please try again after 1 minute(s)'
3581
3581
) . toBeTrue ( ) ;
3582
3582
}
3583
3583
}
0 commit comments