mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Fixed use of deprecated function in test suite
no issue
This commit is contained in:
parent
f8b85354d3
commit
55bd1cdd6b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue