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