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)
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