From e3a0b4b1c171e96395aa8435e22151b9a1d9eae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sun, 6 Sep 2020 23:08:00 -0400 Subject: [PATCH] fix: tests --- test/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers.js b/test/controllers.js index b5ad6db6df..07ceae81eb 100644 --- a/test/controllers.js +++ b/test/controllers.js @@ -1065,7 +1065,7 @@ describe('Controllers', function () { request(nconf.get('url') + '/me', { jar: jar, json: true }, function (err, res, body) { assert.ifError(err); assert.equal(res.statusCode, 200); - assert(body.includes('template: "account/profile"')); + assert(body.includes('"template":{"name":"account/profile","account/profile":true}')); assert(body.includes('"username":"foo"')); done(); });