Fix warnings and errors in integration tests
[PREMIUM-191]
This commit is contained in:
committed by
Jan Jakeš
parent
8eeab7b5cc
commit
f56b58a5fe
@ -698,8 +698,8 @@ class SubscribersTest extends \MailPoetTest {
|
||||
'settings' => $this->diContainer->get(SettingsController::class),
|
||||
'requiredCustomFieldsValidator' => Stub::makeEmpty(RequiredCustomFieldValidator::class, ['validate']),
|
||||
'subscribeToLists' => Expected::once(function ($subscriberId, $segmentsIds, $options) {
|
||||
expect($options)->contains('send_confirmation_email');
|
||||
expect($options['send_confirmation_email'])->equals(true);
|
||||
expect($options)->hasKey('send_confirmation_email');
|
||||
expect($options['send_confirmation_email'])->equals(1);
|
||||
return [];
|
||||
}),
|
||||
],
|
||||
|
Reference in New Issue
Block a user