8000 [Notifier] Add MessageMedia Bridge · symfony/symfony@ab4075f · GitHub
[go: up one dir, main page]

Skip to content

Commit ab4075f

Browse files
author
Adrian Nguyen
committed
[Notifier] Add MessageMedia Bridge
fix test data provider naming
1 parent 8b8d715 commit ab4075f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Notifier/Bridge/MessageMedia/Tests/MessageMediaTransportTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function unsupportedMessagesProvider(): iterable
5151
}
5252

5353
/**
54-
* @dataProvider testExceptionIsThrownWhenHttpSendFailedProvider
54+
* @dataProvider exceptionIsThrownWhenHttpSendFailedProvider
5555
*
5656
* @throws TransportExceptionInterface
5757
*/
@@ -72,7 +72,7 @@ public function testExceptionIsThrownWhenHttpSendFailed(int $statusCode, string
7272
$transport->send(new SmsMessage('+61491570156', 'Hello!'));
7373
}
7474

75-
public function testExceptionIsThrownWhenHttpSendFailedProvider(): iterable
75+
public function exceptionIsThrownWhenHttpSendFailedProvider(): iterable
7676
{
7777
yield [503, '', 'Unable to send the SMS: "Unknown reason".'];
7878
yield [500, '{"details": ["Something went wrong."]}', 'Unable to send the SMS: "Something went wrong.".'];

0 commit comments

Comments
 (0)
0