Node.js based forum software built for the modern web
fix: tests
Barış Soner Uşaklıe3a0b4b1c171
diff --git a/test/controllers.js b/test/controllers.jsindex 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();});