diff --git a/test/unit/server/web/admin/controller.test.js b/test/unit/server/web/admin/controller.test.js index 34852cc253..bd3c757abc 100644 --- a/test/unit/server/web/admin/controller.test.js +++ b/test/unit/server/web/admin/controller.test.js @@ -1,5 +1,6 @@ require('should'); const sinon = require('sinon'); +const path = require('path'); const configUtils = require('../../../../utils/configUtils'); const controller = require('../../../../../core/server/web/admin/controller'); @@ -14,6 +15,7 @@ describe('Admin App', function () { }; configUtils.restore(); + configUtils.set('paths:adminViews', path.resolve('test/utils/fixtures/admin-views')); }); afterEach(function () {