Skip to content

Commit dd47dcb

Browse files
committed
fix error message in tests.
1 parent 771012f commit dd47dcb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/auth/src/api/authentication/idp.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ describe('api/authentication/signInWithIdp', () => {
8383

8484
await expect(signInWithIdp(auth, request)).to.be.rejectedWith(
8585
FirebaseError,
86-
'Firebase: The supplied auth credential is malformed or has expired. (auth/invalid-credential).'
86+
'Firebase: The supplied auth credential is incorrect, malformed or has expired. (auth/invalid-credential).'
8787
);
8888
expect(mock.calls[0].request).to.eql(request);
8989
});

packages/auth/src/api/authentication/mfa.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ describe('api/authentication/startSignInPhoneMfa', () => {
8585

8686
await expect(startSignInPhoneMfa(auth, request)).to.be.rejectedWith(
8787
FirebaseError,
88-
'Firebase: The supplied auth credential is malformed or has expired. (auth/invalid-credential).'
88+
'Firebase: The supplied auth credential is incorrect, malformed or has expired. (auth/invalid-credential).'
8989
);
9090
expect(mock.calls[0].request).to.eql(request);
9191
});

packages/auth/src/api/authentication/token.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ describe('api/authentication/revokeToken', () => {
199199

200200
await expect(revokeToken(auth, request)).to.be.rejectedWith(
201201
FirebaseError,
202-
'Firebase: The supplied auth credential is malformed or has expired. (auth/invalid-credential).'
202+
'Firebase: The supplied auth credential is incorrect, malformed or has expired. (auth/invalid-credential).'
203203
);
204204
expect(mock.calls[0].request).to.eql(request);
205205
});

0 commit comments

Comments
 (0)