Skip to content

Commit 8ff186a

Browse files
committed
added get method return value
1 parent 4c01bed commit 8ff186a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Tests/Functional/EventSubscriber/CallbackSubscriberTest.php

+5
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,11 @@ public function testProcessCallbackRequestWhenSoftBounce(): void
238238

239239
$transportCallback = $this->getMockBuilder(TransportCallback::class)->disableOriginalConstructor()->getMock();
240240
$coreParametersHelper = $this->getMockBuilder(CoreParametersHelper::class)->disableOriginalConstructor()->getMock();
241+
242+
$coreParametersHelper->method('get')
243+
->with('mailer_dsn')
244+
->willReturn('mautic+sparkpost+api://:some_api@some_host:25?region=us');
245+
241246
$subscriber = new CallbackSubscriber(
242247
$transportCallback,
243248
$coreParametersHelper

0 commit comments

Comments
 (0)