fixing js tests

This commit is contained in:
Amine Ben hammou
2018-01-22 10:49:12 +00:00
parent f42b61a49e
commit 20d0ed1aac
2 changed files with 32 additions and 19 deletions

View File

@@ -143,6 +143,13 @@ define([
});
EditorApplication.getBody = sinon.stub();
EditorApplication.getNewsletter = function () {
return {
get: function () {
return 'standard';
}
};
};
module = SaveInjector({
mailpoet: {
Ajax: {