Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit6bd3af0

Browse files
bug#49488 [Mailer] Update Infobip API transport (ndousson)
This PR was merged into the 6.2 branch.Discussion----------[Mailer] Update Infobip API transport| Q | A| ------------- | ---| Branch? | 6.2| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | N/A| License | MIT| Doc PR | N/A# 📍 ContextInfobip send an email to their customers that do not use the latest API release: **V3**They inform that everything is backward compatible and can be easily upgraded without any changes.# 🛠️ ChangesThis PR change the version used from the V2 to the V3.Commits-------18eb6e8 Update Infobip API transport to use the API V3
2 parents0a9a264 +18eb6e8 commit6bd3af0

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
finalclass InfobipApiTransportextends AbstractApiTransport
3333
{
34-
privateconstAPI_VERSION ='2';
34+
privateconstAPI_VERSION ='3';
3535

3636
privatestring$key;
3737

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp