Display ALC warning

[MAILPOET-1631]
This commit is contained in:
Pavel Dohnal
2018-11-13 12:32:58 +01:00
parent 19d13c5165
commit 13d35c4385
2 changed files with 8 additions and 8 deletions

View File

@ -129,10 +129,12 @@ define([
var newsletter = { get: sinon.stub().withArgs('type').returns('notification') };
EditorApplication.getNewsletter = sinon.stub().returns(newsletter);
view.validateNewsletter({
content: {
blocks: [
{ type: 'automatedLatestContent' }
]
body: {
content: {
blocks: [
{ type: 'automatedLatestContent' }
]
}
}
});
expect(hideValidationErrorStub.callCount).to.be.equal(1);