Fixed use of deprecated function in test suite

no issue
This commit is contained in:
Daniel Lockyer 2020-02-19 19:59:05 +00:00
parent f8b85354d3
commit 55bd1cdd6b

View File

@ -7,7 +7,7 @@ const activeTheme = require('../../../../frontend/services/themes/active');
const settingsCache = require('../../../../server/services/settings/cache');
const middleware = themes.middleware;
const sandbox = sinon.sandbox.create();
const sandbox = sinon.createSandbox();
function executeMiddleware(middleware, req, res, next) {
const [current, ...rest] = middleware;