From ae64b9f4958ef98af43a28d0cebe436be0758232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 9 Nov 2021 11:05:03 -0500 Subject: [PATCH] test: add another assert for random failing test --- test/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers.js b/test/controllers.js index 8a27c80d3c..4ac33196d5 100644 --- a/test/controllers.js +++ b/test/controllers.js @@ -378,7 +378,7 @@ describe('Controllers', () => { json: true, resolveWithFullResponse: true, }); - + assert(res.body.errors.length, res.body); assert(res.body.errors.includes('[[error:invalid-email]]'), res.body); });