File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
use Symfony\Component\Notifier\Exception\TransportException;
1717
use Symfony\Component\Notifier\Exception\TransportExceptionInterface;
1818
use Symfony\Component\Notifier\Message\ChatMessage;
19-
use Symfony\Component\Notifier\Message\MessageInterface;
2019
use Symfony\Component\Notifier\Message\SmsMessage;
2120
use Symfony\Component\Notifier\Test\TransportTestCase;
22-
use Symfony\Component\Notifier\Tests\Fixtures\DummyHttpClient;
23-
use Symfony\Component\Notifier\Tests\Fixtures\DummyMessage;
21+
use Symfony\Component\Notifier\Tests\Transport\DummyMessage;
2422
use Symfony\Component\Notifier\Transport\TransportInterface;
2523
use Symfony\Contracts\HttpClient\HttpClientInterface;
2624
use Symfony\Contracts\HttpClient\ResponseInterface;
@@ -32,7 +30,7 @@ final class MessageMediaTransportTest extends TransportTestCase
3230
*/
3331
public static function createTransport(HttpClientInterface $client = null, string $from = null): TransportInterface
3432
{
35-
return new MessageMediaTransport('apiKey', 'apiSecret', $from, $client ?? new DummyHttpClient());
33+
return new MessageMediaTransport('apiKey', 'apiSecret', $from, $client ?? new MockHttpClient());
3634
}
3735

3836
public static function toStringProvider(): iterable

0 commit comments

Comments
 (0)