mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 14:16:25 +02:00
* upgrade to winston 3.1 * fix winston in web/install and tests
This commit is contained in:
committed by
GitHub
parent
6fb11d37ff
commit
85c60316ed
@@ -801,7 +801,11 @@ describe('Controllers', function () {
|
||||
}, function (err, res, body) {
|
||||
assert.ifError(err);
|
||||
assert.equal(res.statusCode, 403);
|
||||
assert.equal(body, '{"path":"/user/doesnotexist/session/1112233","loggedIn":true,"title":"[[global:403.title]]"}');
|
||||
assert.deepEqual(JSON.parse(body), {
|
||||
path: '/user/doesnotexist/session/1112233',
|
||||
loggedIn: true,
|
||||
title: '[[global:403.title]]',
|
||||
});
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user