diff --git a/src/Umbraco.Web.UI.Client/test/unit/app/templates/template-editor-controller.spec.js b/src/Umbraco.Web.UI.Client/test/unit/app/templates/template-editor-controller.spec.js index 6af9d12d73..642dc5ab20 100644 --- a/src/Umbraco.Web.UI.Client/test/unit/app/templates/template-editor-controller.spec.js +++ b/src/Umbraco.Web.UI.Client/test/unit/app/templates/template-editor-controller.spec.js @@ -49,7 +49,11 @@ setValue: function() {}, focus: function() {}, clearSelection: function() {}, - navigateFileStart: function() {} + navigateFileStart: function() {}, + commands: { + bindKey: function() {}, + addCommands: function() {} + } }; controller = createController(); @@ -107,7 +111,10 @@ getInsertPartialSnippet: function() { return ""; }, getQuerySnippet: function() { return ""; }, getRenderBodySnippet: function() { return ""; }, - getRenderSectionSnippet: function() { return ""; } + getRenderSectionSnippet: function() { return ""; }, + getGeneralShortcuts: function() { return ""; }, + getEditorShortcuts: function() { return ""; }, + getTemplateEditorShortcuts: function() { return ""; } } }); }