tests fixed

This commit is contained in:
Amine Ben hammou
2017-08-08 11:49:32 +00:00
parent de261d6179
commit b2b1f7ff71
3 changed files with 11 additions and 8 deletions

View File

@@ -119,7 +119,7 @@ let newsletter_actions = [
) {
window.location.href = `?page=mailpoet-newsletter-editor&id=${ newsletter.id }`;
}
}
},
},
{
name: 'duplicate',

View File

@@ -162,8 +162,8 @@ define(
endpoint: 'sendingQueue',
action: 'resume',
data: {
newsletter_id: this.state.item.id
}
newsletter_id: this.state.item.id,
},
}).done(() => {
this.context.router.push(`/${ this.state.item.type || '' }`);
MailPoet.Notice.success(