From 4c00a5ece6a0786fbca156380ed8a047d3a3841c Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 12 May 2017 12:14:19 -0400 Subject: [PATCH] fixing tests --- test/socket.io.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/socket.io.js b/test/socket.io.js index fc24d24e30..820a845c82 100644 --- a/test/socket.io.js +++ b/test/socket.io.js @@ -332,7 +332,7 @@ describe('socket.io', function () { io.emit('admin.analytics.get', { graph: 'traffic', units: 'days' }, function (err, data) { assert.ifError(err); assert(data); - assert(data.monthlyPageViews); + assert(data.summary); done(); }); }); @@ -341,7 +341,7 @@ describe('socket.io', function () { io.emit('admin.analytics.get', { graph: 'traffic', units: 'hours' }, function (err, data) { assert.ifError(err); assert(data); - assert(data.monthlyPageViews); + assert(data.summary); done(); }); });