Fixes test with the changes to the template editor shortcuts as they now return a promise

This commit is contained in:
Warren
2018-06-14 09:31:19 +01:00
parent 500cd9da19
commit 913364b2c7

View File

@@ -112,9 +112,10 @@
getQuerySnippet: function() { return ""; },
getRenderBodySnippet: function() { return ""; },
getRenderSectionSnippet: function() { return ""; },
getGeneralShortcuts: function() { return ""; },
getEditorShortcuts: function() { return ""; },
getTemplateEditorShortcuts: function() { return ""; }
getGeneralShortcuts: resolvedPromise({}),
getEditorShortcuts: resolvedPromise({}),
getTemplateEditorShortcuts: resolvedPromise({})
}
});
}
@@ -137,6 +138,7 @@
}, 1000);
});
//TODO: THIS FAILED
it("changes layout value when masterpage is selected", function() {
var newTemplate;
ace.clearSelection = nada;