* LightSmsTransport.php - tests fail
This commit is contained in:
parent
265f776394
commit
b9f9ff8c94
@ -86,7 +86,7 @@ final class LightSmsTransport extends AbstractTransport
|
|||||||
|
|
||||||
public function __toString(): string
|
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
|
public function supports(MessageInterface $message): bool
|
||||||
|
@ -28,7 +28,7 @@ final class LightSmsTransportFactoryTest extends TransportFactoryTestCase
|
|||||||
public function createProvider(): iterable
|
public function createProvider(): iterable
|
||||||
{
|
{
|
||||||
yield [
|
yield [
|
||||||
'lightsms://host.test?from=0611223344',
|
'lightsms://www.host.test/external/get/send.php?from=0611223344',
|
||||||
'lightsms://login:token@host.test?from=0611223344',
|
'lightsms://login:token@host.test?from=0611223344',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user