8000 * LightSmsTransport.php - tests fail · symfony/symfony@b9f9ff8 · GitHub
[go: up one dir, main page]

Skip to content

Commit b9f9ff8

Browse files
author
Vasilij Dusko | CREATION
committed
* LightSmsTransport.php - tests fail
1 parent 265f776 commit b9f9ff8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Notifier/Bridge/LightSms/LightSmsTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function __construct(string $login, string $password, string $from, HttpC
8686

8787
public function __toString(): string
8888
{
89-
return sprintf('lightsms://www.%s/external/get/send.php?phone=%s', $this->getEndpoint(), $this->from);
89+
return sprintf('lightsms://www.%s/external/get/send.php?from=%s', $this->getEndpoint(), $this->from);
9090
}
9191

9292
public function supports(MessageInterface $message): bool

src/Symfony/Component/Notifier/Bridge/LightSms/Tests/LightSmsTransportFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function createFactory(): TransportFactoryInterface
2828
public function createProvider(): iterable
2929
{
3030
yield [
31-
'lightsms://host.test?from=0611223344',
31+
'lightsms://www.host.test/external/get/send.php?from=0611223344',
3232
'lightsms://login:token@host.test?from=0611223344',
3333
];
3434
}

0 commit comments

Comments
 (0)
0