File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Component \Notifier \Bridge \MessageBird \Tests ;
1313
14+ use Symfony \Component \HttpClient \MockHttpClient ;
1415use Symfony \Component \Notifier \Bridge \MessageBird \MessageBirdTransport ;
1516use Symfony \Component \Notifier \Message \ChatMessage ;
16- use Symfony \Component \Notifier \Message \MessageInterface ;
1717use Symfony \Component \Notifier \Message \SmsMessage ;
1818use Symfony \Component \Notifier \Test \TransportTestCase ;
19- use Symfony \Component \Notifier \Tests \Fixtures \DummyHttpClient ;
20- use Symfony \Component \Notifier \Tests \Fixtures \DummyMessage ;
21- use Symfony \Component \Notifier \Transport \TransportInterface ;
19+ use Symfony \Component \Notifier \Tests \Transport \DummyMessage ;
2220use Symfony \Contracts \HttpClient \HttpClientInterface ;
2321
2422final class MessageBirdTransportTest extends TransportTestCase
2523{
2624 public static function createTransport (HttpClientInterface $ client = null ): MessageBirdTransport
2725 {
28- return new MessageBirdTransport ('token ' , 'from ' , $ client ?? new DummyHttpClient ());
26+ return new MessageBirdTransport ('token ' , 'from ' , $ client ?? new MockHttpClient ());
2927 }
3028
3129 public static function toStringProvider (): iterable
You can’t perform that action at this time.
0 commit comments