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

@@ -1,6 +1,5 @@
import {
generateUser,
translate as t,
} from '../../../../helpers/api-integration/v3';
describe('payments : amazon', () => {
@@ -15,7 +14,7 @@ describe('payments : amazon', () => {
await expect(user.post(endpoint)).to.eventually.be.rejected.and.eql({
code: 400,
error: 'BadRequest',
message: t('missingAccessToken'),
message: 'Missing req.body.access_token',
});
});
});