mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 09:06:15 +01:00
test: show body when test fails
This commit is contained in:
@@ -379,7 +379,7 @@ describe('Controllers', () => {
|
|||||||
resolveWithFullResponse: true,
|
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 () => {
|
it('gdpr interstitial should still apply if email requirement is disabled', async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user