This commit is contained in:
Girish Ramakrishnan
2023-08-21 19:43:53 +05:30
parent 79af6c1a68
commit 91a4883b50

View File

@@ -468,12 +468,12 @@ describe('User', function () {
describe('sendPasswordResetByIdentifier', function () {
before(createOwner);
it('fails due to unkown email', async function () {
it('fails due to unknown email', async function () {
const [error] = await safe(users.sendPasswordResetByIdentifier('unknown@mail.com', auditSource));
expect(error.reason).to.eql(BoxError.NOT_FOUND);
});
it('fails due to unkown username', async function () {
it('fails due to unknown username', async function () {
const [error] = await safe(users.sendPasswordResetByIdentifier('unknown', auditSource));
expect(error.reason).to.eql(BoxError.NOT_FOUND);
});