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 6
6
7
7
use Mautic \CoreBundle \Helper \DateTimeHelper ;
8
8
use Mautic \CoreBundle \Test \MauticMysqlTestCase ;
9
+ use Mautic \EmailBundle \EmailEvents ;
9
10
use Mautic \EmailBundle \Entity \Stat ;
10
11
use Mautic \EmailBundle \Event \TransportWebhookEvent ;
12
+ use Mautic \EmailBundle \Model \TransportCallback ;
11
13
use Mautic \LeadBundle \Entity \DoNotContact ;
12
14
use Mautic \LeadBundle \Entity \Lead ;
13
15
use MauticPlugin \SparkpostBundle \EventSubscriber \CallbackSubscriber ;
@@ -233,7 +235,7 @@ public function testProcessCallbackRequestWhenSoftBounce(): void
233
235
234
236
$ dispatcher = new EventDispatcher ();
235
237
236
- $ transportCallback = $ this ->createMock (TransportCallback::class);
238
+ $ transportCallback = $ this ->getMockBuilder (TransportCallback::class)-> disableOriginalConstructor ()-> getMock ( );
237
239
$ subscriber = new CallbackSubscriber (
238
240
$ transportCallback ,
239
241
new \Mautic \CoreBundle \Helper \CoreParametersHelper ()
You can’t perform that action at this time.
0 commit comments