lint: Use eslint --fix to automatically fix some issues in api v2 tests

This commit is contained in:
Blade Barringer
2016-01-02 18:28:06 -06:00
parent 262d04e14c
commit ff1e5ef221
7 changed files with 20 additions and 20 deletions

View File

@@ -47,9 +47,9 @@ describe('POST /user/batch-update', () => {
return expect(user.post('/user/batch-update', [
{ op: operation },
])).to.eventually.be.rejected.and.eql({
code: 500,
text: t('messageUserOperationNotFound', { operation }),
});
code: 500,
text: t('messageUserOperationNotFound', { operation }),
});
});
});
});
@@ -59,9 +59,9 @@ describe('POST /user/batch-update', () => {
return expect(user.post('/user/batch-update', [
{op: 'aNotRealOperation'},
])).to.eventually.be.rejected.and.eql({
code: 500,
text: t('messageUserOperationNotFound', { operation: 'aNotRealOperation' }),
});
code: 500,
text: t('messageUserOperationNotFound', { operation: 'aNotRealOperation' }),
});
});
});
});