10000 Update Infobip API transport to use the API V3 · symfony/symfony@18eb6e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 18eb6e8

Browse files
committed
Update Infobip API transport to use the API V3
1 parent 0eb0ae5 commit 18eb6e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Mailer/Bridge/Infobip/Tests/Transport/InfobipApiTransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function testInfobipShouldBeCalledWithTheRightMethodAndUrlAndHeaders()
7070
$this->transport->send($email);
7171

7272
$this->assertSame('POST', $this->response->getRequestMethod());
73-
$this->assertSame('https://99999.api.infobip.com/email/2/send', $this->response->getRequestUrl());
73+
$this->assertSame('https://99999.api.infobip.com/email/3/send', $this->response->getRequestUrl());
7474
$options = $this->response->getRequestOptions();
7575
$this->arrayHasKey('headers');
7676
$this->assertCount(4, $options['headers']);

src/Symfony/Component/Mailer/Bridge/Infobip/Transport/InfobipApiTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*/
3232
final class InfobipApiTransport extends AbstractApiTransport
3333
{
34-
private const API_VERSION = '2';
34+
private const API_VERSION = '3';
3535

3636
private string $key;
3737

0 commit comments

Comments
 (0)
0