fix: test

This commit is contained in:
Barış Soner Uşaklı
2020-11-25 10:49:14 -05:00
parent 0dcc5b2bbf
commit 61c6a762ad

View File

@@ -315,8 +315,7 @@ describe('socket.io', function () {
});
it('should get server time', function (done) {
var socketMeta = require('../src/socket.io/meta');
socketMeta.getServerTime({ uid: 1 }, null, function (err, time) {
io.emit('admin.getServerTime', null, function (err, time) {
assert.ifError(err);
assert(time);
done();