v3 payments: fix tests

This commit is contained in:
Matteo Pagliazzi
2016-05-10 18:14:28 +02:00
parent d33564e5d4
commit b3a78fba97
6 changed files with 11 additions and 16 deletions

View File

@@ -13,8 +13,8 @@ describe('payments - stripe - #subscribeEdit', () => {
it('verifies credentials', async () => {
await expect(user.post(endpoint)).to.eventually.be.rejected.and.eql({
code: 400,
error: 'BadRequest',
code: 401,
error: 'NotAuthorized',
message: t('missingSubscription'),
});
});