Skip to content

Commit 31edbe3

Browse files
committed
added missing imports
1 parent 9b68a72 commit 31edbe3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Tests/Functional/EventSubscriber/CallbackSubscriberTest.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66

77
use Mautic\CoreBundle\Helper\DateTimeHelper;
88
use Mautic\CoreBundle\Test\MauticMysqlTestCase;
9+
use Mautic\EmailBundle\EmailEvents;
910
use Mautic\EmailBundle\Entity\Stat;
1011
use Mautic\EmailBundle\Event\TransportWebhookEvent;
12+
use Mautic\EmailBundle\Model\TransportCallback;
1113
use Mautic\LeadBundle\Entity\DoNotContact;
1214
use Mautic\LeadBundle\Entity\Lead;
1315
use MauticPlugin\SparkpostBundle\EventSubscriber\CallbackSubscriber;
@@ -233,7 +235,7 @@ public function testProcessCallbackRequestWhenSoftBounce(): void
233235

234236
$dispatcher = new EventDispatcher();
235237

236-
$transportCallback = $this->createMock(TransportCallback::class);
238+
$transportCallback = $this->getMockBuilder(TransportCallback::class)->disableOriginalConstructor()->getMock();
237239
$subscriber = new CallbackSubscriber(
238240
$transportCallback,
239241
new \Mautic\CoreBundle\Helper\CoreParametersHelper()

0 commit comments

Comments
 (0)