ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.191.212.141 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/funds/vendor/simplesoftwareio/simple-qrcode/tests/DataTypes/ |
Upload File : |
<?php use PHPUnit\Framework\TestCase; use SimpleSoftwareIO\QrCode\DataTypes\SMS; class SMSTest extends TestCase { public function setUp() { $this->sms = new SMS(); } public function test_it_generates_a_proper_format_with_a_phone_number() { $this->sms->create(['555-555-5555']); $properFormat = 'sms:555-555-5555'; $this->assertEquals($properFormat, strval($this->sms)); } public function test_it_generate_a_proper_format_with_a_message() { $this->sms->create([null, 'foo']); $properFormat = 'sms::foo'; $this->assertEquals($properFormat, strval($this->sms)); } public function test_it_generates_a_proper_format_with_a_phone_number_and_message() { $this->sms->create(['555-555-5555', 'foo']); $properFormat = 'sms:555-555-5555:foo'; $this->assertEquals($properFormat, strval($this->sms)); } }