From 26f00ffb6030c7a756cc7cdea383256a7d59f7c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 8 Dec 2021 20:48:19 -0500 Subject: [PATCH] test: fix --- test/socket.io.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 () => {