* LightSmsTransport.php - tests fail

This commit is contained in:
Vasilij Dusko | CREATION 2021-03-30 09:17:45 +03:00
parent 265f776394
commit b9f9ff8c94
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ final class LightSmsTransport extends AbstractTransport
public function __toString(): string
{
return sprintf('lightsms://www.%s/external/get/send.php?phone=%s', $this->getEndpoint(), $this->from);
return sprintf('lightsms://www.%s/external/get/send.php?from=%s', $this->getEndpoint(), $this->from);
}
public function supports(MessageInterface $message): bool

View File

@ -28,7 +28,7 @@ final class LightSmsTransportFactoryTest extends TransportFactoryTestCase
public function createProvider(): iterable
{
yield [
'lightsms://host.test?from=0611223344',
'lightsms://www.host.test/external/get/send.php?from=0611223344',
'lightsms://login:token@host.test?from=0611223344',
];
}