Skip to content

Commit

Permalink
tests now passing after rename
Browse files Browse the repository at this point in the history
  • Loading branch information
zg009 committed Mar 15, 2024
1 parent 7fb0d12 commit 58d6d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/password-reset-email-request-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ describe('PasswordResetEmailRequest', () => {
const options = { accountManager, username }
const request = new PasswordResetEmailRequest(options)

sinon.spy(request, 'renderSuccess')
sinon.spy(request, 'resetLinkMessage')

request.loadUser()
.catch(() => {
expect(request.renderSuccess).to.have.been.called()
expect(request.resetLinkMessage).to.have.been.called()
done()
})
})
Expand Down

0 comments on commit 58d6d95

Please sign in to comment.