diff --git a/test/socket.io.js b/test/socket.io.js index 16bd133ef5..dd41c8e40d 100644 --- a/test/socket.io.js +++ b/test/socket.io.js @@ -565,10 +565,8 @@ describe('socket.io', () => { }); it('should clear sitemap cache', (done) => { - socketAdmin.settings.clearSitemapCache({ uid: adminUid }, {}, (err) => { - assert.ifError(err); - done(); - }); + socketAdmin.settings.clearSitemapCache({ uid: adminUid }, {}); + done(); }); it('should send test email', async () => {