diff --git a/test/socket.io.js b/test/socket.io.js index a4db2b7aaa..83e5635cd3 100644 --- a/test/socket.io.js +++ b/test/socket.io.js @@ -92,13 +92,13 @@ describe('socket.io', () => { }); it('should get installed themes', (done) => { - const themes = ['nodebb-theme-lavender', 'nodebb-theme-persona', 'nodebb-theme-vanilla']; + const themes = ['nodebb-theme-persona']; io.emit('admin.themes.getInstalled', (err, data) => { assert.ifError(err); assert(data); const installed = data.map(theme => theme.id); themes.forEach((theme) => { - assert.notEqual(installed.indexOf(theme), -1); + assert(installed.includes(theme)); }); done(); });