Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 18eb6e8

Browse filesBrowse files
committed
Update Infobip API transport to use the API V3
1 parent 0eb0ae5 commit 18eb6e8
Copy full SHA for 18eb6e8

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mailer/Bridge/Infobip/Tests/Transport/InfobipApiTransportTest.php
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mailer/Bridge/Infobip/Transport/InfobipApiTransport.php
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.