File tree 1 file changed +3
-1
lines changed
Tests/Functional/EventSubscriber
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace MauticPlugin \SparkpostBundle \Tests \Functional \EventSubscriber ;
6
6
7
+ use Mautic \CoreBundle \Helper \CoreParametersHelper ;
7
8
use Mautic \CoreBundle \Helper \DateTimeHelper ;
8
9
use Mautic \CoreBundle \Test \MauticMysqlTestCase ;
9
10
use Mautic \EmailBundle \EmailEvents ;
@@ -236,9 +237,10 @@ public function testProcessCallbackRequestWhenSoftBounce(): void
236
237
$ dispatcher = new EventDispatcher ();
237
238
238
239
$ transportCallback = $ this ->getMockBuilder (TransportCallback::class)->disableOriginalConstructor ()->getMock ();
240
+ $ coreParametersHelper = $ this ->getMockBuilder (CoreParametersHelper::class)->disableOriginalConstructor ()->getMock ();
239
241
$ subscriber = new CallbackSubscriber (
240
242
$ transportCallback ,
241
- new \ Mautic \ CoreBundle \ Helper \ CoreParametersHelper ()
243
+ $ coreParametersHelper
242
244
);
243
245
244
246
$ dispatcher ->addSubscriber ($ subscriber );
You can’t perform that action at this time.
0 commit comments