X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FCRM%2FSMS%2FPreviewTest.php;h=c3dd21950f48dbb4427d319f9414f89fbff65b98;hb=2a55af8e4b2d450e919a3a0aef9c3cb33071477c;hp=fa81cecad305129b74eb7f2cd3bbe2dc58d53346;hpb=3a3bd22c67f6683d38bca4d25cbb8414e454e2b5;p=civicrm-core.git diff --git a/tests/phpunit/CRM/SMS/PreviewTest.php b/tests/phpunit/CRM/SMS/PreviewTest.php index fa81cecad3..c3dd21950f 100644 --- a/tests/phpunit/CRM/SMS/PreviewTest.php +++ b/tests/phpunit/CRM/SMS/PreviewTest.php @@ -27,7 +27,7 @@ class CRM_SMS_PreviewTest extends CiviUnitTestCase { /** * Test SMS preview. */ - public function testSMSPreview() { + public function testSMSPreview(): void { $result = $this->callAPISuccess('SmsProvider', 'create', [ 'title' => 'test SMS provider', 'username' => 'test', @@ -41,10 +41,10 @@ class CRM_SMS_PreviewTest extends CiviUnitTestCase { $provider_id = $result['id']; $result = $this->callAPISuccess('Mailing', 'create', [ 'name' => "Test1", - 'from_name' => "+12223334444", - 'from_email' => "test@test.com", + 'from_name' => '+12223334444', + 'from_email' => 'test@test.com', 'replyto_email' => "test@test.com", - 'body_text' => "Testing body", + 'body_text' => 'Testing body', 'sms_provider_id' => $provider_id, 'header_id' => NULL, 'footer_id' => NULL,