File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1515use Symfony \Contracts \EventDispatcher \EventDispatcherInterface ;
1616use Symfony \Contracts \HttpClient \HttpClientInterface ;
1717
18- final class FailedMessageEventTest extends TestCase
18+ class FailedMessageEventTest extends TestCase
1919{
2020 /**
2121 * @dataProvider messagesProvider
@@ -47,6 +47,8 @@ public function testFailedMessageEventIsDisptachIfError()
4747 $ clientMock = $ this ->createMock (HttpClientInterface::class);
4848
4949 $ transport = new class ($ clientMock , $ eventDispatcherMock ) extends AbstractTransport {
50+ public $ exception ;
51+
5052 public function __construct ($ client , EventDispatcherInterface $ dispatcher = null )
5153 {
5254 $ this ->exception = new NullTransportException ();
@@ -65,6 +67,7 @@ public function supports(MessageInterface $message): bool
6567
6668 public function __toString (): string
6769 {
70+ return '' ;
6871 }
6972 };
7073
You can’t perform that action at this time.
0 commit comments