upgrade to winston 3.1, closes #6590 (#6838)

* upgrade to winston 3.1

* fix winston in web/install and tests
This commit is contained in:
Barış Soner Uşaklı
2018-10-16 13:07:13 -04:00
committed by GitHub
parent 6fb11d37ff
commit 85c60316ed
10 changed files with 93 additions and 54 deletions

View File

@@ -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();
});
});