diff --git a/test/controllers.js b/test/controllers.js index 452b43d302..8a27c80d3c 100644 --- a/test/controllers.js +++ b/test/controllers.js @@ -379,7 +379,7 @@ describe('Controllers', () => { resolveWithFullResponse: true, }); - assert(res.body.errors.includes('[[error:invalid-email]]')); + assert(res.body.errors.includes('[[error:invalid-email]]'), res.body); }); it('gdpr interstitial should still apply if email requirement is disabled', async () => {