mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 08:25:06 +03:00
Fixed use of deprecated function in test suite
no issue
This commit is contained in:
parent
f8b85354d3
commit
55bd1cdd6b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user