Skip to content

Commit b19200c

Browse files
committed
bug #41985 Fix: Mailjet bridge tests (OskarStark)
This PR was merged into the 5.4 branch. Discussion ---------- Fix: Mailjet bridge tests | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Follows #41705 | License | MIT | Doc PR | - Fix the build Commits ------- 690e4ed Fix: Mailjet bridge tests
2 parents 14c45f4 + 690e4ed commit b19200c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Symfony/Component/Notifier/Bridge/Mailjet/Tests/MailjetTransportFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public function supportsProvider(): iterable
3939
yield [false, 'somethingElse://Mailjet:authtoken@default'];
4040
}
4141

42-
public function missingRequiredOptionProvider(): iterable
42+
public function incompleteDsnProvider(): iterable
4343
{
44-
yield 'missing option: from' => ['mailjet://authtoken@default'];
44+
yield 'missing from' => ['mailjet://authtoken@default', 'Invalid "mailjet://authtoken@default" notifier DSN: Password is not set.'];
4545
}
4646

4747
public function unsupportedSchemeProvider(): iterable

src/Symfony/Component/Notifier/Bridge/Mailjet/Tests/MailjetTransportTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ final class MailjetTransportTest extends TransportTestCase
2424
/**
2525
* @return MailjetTransport
2626
*/
27-
public function createTransport(?HttpClientInterface $client = null): TransportInterface
27+
public function createTransport(HttpClientInterface $client = null): TransportInterface
2828
{
2929
return (new MailjetTransport('authtoken', 'Mailjet', $client ?? $this->createMock(HttpClientInterface::class)))->setHost('host.test');
3030
}
3131

3232
public function toStringProvider(): iterable
3333
{
34-
yield ['mailjet://Mailjet:authtoken@host.test', $this->createTransport()];
34+
yield ['mailjet://Mailjet@host.test', $this->createTransport()];
3535
}
3636

3737
public function supportedMessagesProvider(): iterable

src/Symfony/Component/Notifier/Bridge/Mailjet/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"require": {
2323
"php": ">=7.2.5",
2424
"symfony/http-client": "^4.3|^5.0",
25-
"symfony/notifier": "^5.3"
25+
"symfony/notifier": "^5.3.4"
2626
},
2727
"autoload": {
2828
"psr-4": { "Symfony\\Component\\Notifier\\Bridge\\Mailjet\\": "" },

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy