mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Update redisAppender-test.js
This commit is contained in:
parent
da7c236735
commit
64b129a0aa
@ -13,7 +13,6 @@ function setupLogging(category, options) {
|
||||
port: options.port,
|
||||
pass: options.pass,
|
||||
channel: options.channel,
|
||||
category: options.category,
|
||||
layout: options.layout
|
||||
};
|
||||
|
||||
@ -99,7 +98,6 @@ test('log4js redisAppender', (batch) => {
|
||||
pass: '',
|
||||
channel: 'log',
|
||||
type: 'redis',
|
||||
category: 'redis',
|
||||
layout: {
|
||||
type: 'tester'
|
||||
}
|
||||
@ -111,7 +109,6 @@ test('log4js redisAppender', (batch) => {
|
||||
assert.equal(result.redishost.pass, '');
|
||||
assert.equal(result.redishost.channel, 'log');
|
||||
assert.equal(result.redishost.type, 'redis');
|
||||
assert.equal(result.redishost.category, 'redis');
|
||||
assert.equal(result.redishost.layout, { type: 'tester' });
|
||||
assert.end();
|
||||
});
|
||||
@ -125,7 +122,6 @@ test('log4js redisAppender', (batch) => {
|
||||
pass: '',
|
||||
channel: 'log',
|
||||
type: 'redis',
|
||||
category: 'redis',
|
||||
layout: {
|
||||
type: 'tester'
|
||||
}
|
||||
@ -155,7 +151,6 @@ test('log4js redisAppender', (batch) => {
|
||||
pass: '',
|
||||
channel: 'log',
|
||||
type: 'redis',
|
||||
category: 'redis',
|
||||
layout: {
|
||||
type: 'tester'
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user