Made requested changes [MQ-34]

This commit is contained in:
Michelle Shull
2018-09-12 09:38:51 -04:00
parent 2eb68ed561
commit 05dd701be4

View File

@@ -11,8 +11,7 @@ class ConfirmNotificationAutosaveCest {
$I->wantTo('Confirm Post Notification Autosave'); $I->wantTo('Confirm Post Notification Autosave');
$newsletter_title = 'Notification Autosave Test'; $newsletter_title = 'Notification Autosave Test';
// step 1 - Prepare post notification data // step 1 - Prepare post notification data
$newsletterFactory = new Newsletter(); $newsletter = $newsletter->withSubject($newsletter_title)
$newsletter = $newsletterFactory->withSubject($newsletter_title)
->withType('notification') ->withType('notification')
->withPostNoticationOptions() ->withPostNoticationOptions()
->create(); ->create();