SmsClientTest.php 434 B

12345678910111213141516171819
  1. <?php
  2. declare(strict_types=1);
  3. namespace SixShop\TencentCloudSms;
  4. use PHPUnit\Framework\TestCase;
  5. class SmsClientTest extends TestCase
  6. {
  7. protected SmsClient $smsClient;
  8. protected function setUp(): void
  9. {
  10. $this->smsClient = app()->make(SmsClient::class);
  11. }
  12. public function testSendSms():void
  13. {
  14. $resp = $this->smsClient->sendSms('13724018360', '2516637', '123456');
  15. dump($resp);
  16. }
  17. }