-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0955fbd
commit 52c9474
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -624,8 +624,8 @@ describe('testing identity-srv', () => { | |
identifier: email | ||
}); | ||
should.exist(result.operation_status); | ||
result.operation_status.code.should.equal(404); | ||
result.operation_status.message.should.equal(`user not found`); | ||
result.operation_status.code.should.equal(400); | ||
result.operation_status.message.should.equal(`Invalid identifier provided for request password change, multiple users found for identifier ${email}`); | ||
}); | ||
it('should successfully RequestPasswordChange with user name as identifier', async () => { | ||
// activation_code should be empty initially | ||
|
@@ -735,8 +735,8 @@ describe('testing identity-srv', () => { | |
new_email: '[email protected]' | ||
}); | ||
should.exist(result.operation_status); | ||
result.operation_status.code.should.equal(404); | ||
result.operation_status.message.should.equal(`user does not exist`); | ||
result.operation_status.code.should.equal(400); | ||
result.operation_status.message.should.equal(`Invalid identifier provided for request email change, multiple users found for identifier ${email}`); | ||
}); | ||
it('should change new_email field with provided email using user name as identifier', async () => { | ||
const result = await userService.requestEmailChange({ | ||
|