typo
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user