File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 16
16
use Symfony \Component \Notifier \Bridge \Smsapi \SmsapiTransport ;
17
17
use Symfony \Component \Notifier \Exception \TransportException ;
18
18
use Symfony \Component \Notifier \Message \ChatMessage ;
19
- use Symfony \Component \Notifier \Message \MessageInterface ;
20
19
use Symfony \Component \Notifier \Message \SmsMessage ;
21
20
use Symfony \Component \Notifier \Test \TransportTestCase ;
22
- use Symfony \Component \Notifier \Tests \Fixtures \DummyHttpClient ;
23
- use Symfony \Component \Notifier \Tests \Fixtures \DummyMessage ;
24
- use Symfony \Component \Notifier \Transport \TransportInterface ;
21
+ use Symfony \Component \Notifier \Tests \Transport \DummyMessage ;
25
22
use Symfony \Contracts \HttpClient \HttpClientInterface ;
26
23
27
24
final class SmsapiTransportTest extends TransportTestCase
28
25
{
29
26
public static function createTransport (HttpClientInterface $ client = null , bool $ fast = false , bool $ test = false ): SmsapiTransport
30
27
{
31
- return (new SmsapiTransport ('testToken ' , 'testFrom ' , $ client ?? new DummyHttpClient ()))->setHost ('test.host ' )->setFast ($ fast )->setTest ($ test );
28
+ return (new SmsapiTransport ('testToken ' , 'testFrom ' , $ client ?? new MockHttpClient ()))->setHost ('test.host ' )->setFast ($ fast )->setTest ($ test );
32
29
}
33
30
34
31
public static function toStringProvider (): iterable
You can’t perform that action at this time.
0 commit comments