File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
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 ;
21
+ use Symfony \Component \Notifier \Tests \Transport \DummyMessage ;
24
22
use Symfony \Component \Notifier \Transport \TransportInterface ;
25
23
use Symfony \Contracts \HttpClient \HttpClientInterface ;
26
24
@@ -31,7 +29,7 @@ final class SmsapiTransportTest extends TransportTestCase
31
29
*/
32
30
public static function createTransport (HttpClientInterface $ client = null ): TransportInterface
33
31
{
34
- return (new SmsapiTransport ('testToken ' , 'testFrom ' , $ client ?? new DummyHttpClient ()))->setHost ('test.host ' );
32
+ return (new SmsapiTransport ('testToken ' , 'testFrom ' , $ client ?? new MockHttpClient ()))->setHost ('test.host ' );
35
33
}
36
34
37
35
public static function toStringProvider (): iterable
You can’t perform that action at this time.
0 commit comments