diff --git a/libs/auth/src/angular/change-password/default-change-password.service.spec.ts b/libs/auth/src/angular/change-password/default-change-password.service.spec.ts index ab993859d70..add2e62adbc 100644 --- a/libs/auth/src/angular/change-password/default-change-password.service.spec.ts +++ b/libs/auth/src/angular/change-password/default-change-password.service.spec.ts @@ -116,7 +116,7 @@ describe("DefaultChangePasswordService", () => { // Assert await expect(testFn).rejects.toThrow( - "currentMasterKey or currentServerMasterKeyHash not found", + "invalid PasswordInputResult credentials, could not change password", ); }); @@ -130,7 +130,7 @@ describe("DefaultChangePasswordService", () => { // Assert await expect(testFn).rejects.toThrow( - "currentMasterKey or currentServerMasterKeyHash not found", + "invalid PasswordInputResult credentials, could not change password", ); });