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 \Exception \LogicException ;
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 \MessageOptionsInterface ;
21
20
use Symfony \Component \Notifier \Message \SmsMessage ;
22
21
use Symfony \Component \Notifier \Notification \Notification ;
23
22
use Symfony \Component \Notifier \Test \TransportTestCase ;
24
- use Symfony \Component \Notifier \Tests \Fixtures \DummyHttpClient ;
25
- use Symfony \Component \Notifier \Tests \Fixtures \DummyMessage ;
26
- use Symfony \Component \Notifier \Transport \TransportInterface ;
23
+ use Symfony \Component \Notifier \Tests \Transport \DummyMessage ;
27
24
use Symfony \Contracts \HttpClient \HttpClientInterface ;
28
25
use Symfony \Contracts \HttpClient \ResponseInterface ;
29
26
30
27
final class LinkedInTransportTest extends TransportTestCase
31
28
{
32
29
public static function createTransport (HttpClientInterface $ client = null ): LinkedInTransport
33
30
{
34
- return (new LinkedInTransport ('AuthToken ' , 'AccountId ' , $ client ?? new DummyHttpClient ()))->setHost ('host.test ' );
31
+ return (new LinkedInTransport ('AuthToken ' , 'AccountId ' , $ client ?? new MockHttpClient ()))->setHost ('host.test ' );
35
32
}
36
33
37
34
public static function toStringProvider (): iterable
You can’t perform that action at this time.
0 commit comments