Remove obsolete stubs
This commit is contained in:
@ -12,7 +12,6 @@ define([
|
|||||||
global.stubChannel(EditorApplication);
|
global.stubChannel(EditorApplication);
|
||||||
global.stubConfig(EditorApplication);
|
global.stubConfig(EditorApplication);
|
||||||
EditorApplication.getBlockTypeModel = sinon.stub().returns(Backbone.SuperModel);
|
EditorApplication.getBlockTypeModel = sinon.stub().returns(Backbone.SuperModel);
|
||||||
global.mailpoet_post_wpi = sinon.stub();
|
|
||||||
model = new (AutomatedLatestContentBlock.AutomatedLatestContentBlockModel)();
|
model = new (AutomatedLatestContentBlock.AutomatedLatestContentBlockModel)();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ define([
|
|||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
global.stubChannel(EditorApplication);
|
global.stubChannel(EditorApplication);
|
||||||
global.stubConfig(EditorApplication);
|
global.stubConfig(EditorApplication);
|
||||||
global.mailpoet_post_wpi = sinon.stub();
|
|
||||||
EditorApplication.getBlockTypeModel = sinon.stub().returns(Backbone.SuperModel);
|
EditorApplication.getBlockTypeModel = sinon.stub().returns(Backbone.SuperModel);
|
||||||
model = new (PostsBlock.PostsBlockModel)();
|
model = new (PostsBlock.PostsBlockModel)();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user