mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: tests
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user