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 b9f9ff8

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

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/LightSms/LightSmsTransport.php
+1-1Lines 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

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