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