Merge pull request #19806 from eileenmcnaughton/msg_compat
[civicrm-core.git] / tests / phpunit / api / v3 / CRM11793Test.php
index 61484322fe3fe5dca88a084339fe9bd692b3fd35..e1a5a5b6ebd981fa20b81b0515df84b6c7817da7 100644 (file)
@@ -18,7 +18,7 @@ class api_v3_CRM11793Test extends CiviUnitTestCase {
    * Connect to the database, truncate the tables that will be used
    * and redirect stdin to a temporary file
    */
-  public function setUp() {
+  public function setUp(): void {
     parent::setUp();
 
     $this->individualCreate();
@@ -26,7 +26,8 @@ class api_v3_CRM11793Test extends CiviUnitTestCase {
     $this->organizationCreate();
   }
 
-  public function tearDown() {
+  public function tearDown(): void {
+    parent::tearDown();
   }
 
   /**
@@ -54,9 +55,9 @@ class api_v3_CRM11793Test extends CiviUnitTestCase {
     $result = $this->callAPISuccess(
       'contact',
       'get',
-      array(
+      [
         'contact_type' => $contactType,
-      )
+      ]
     );
 
     foreach ($result['values'] as $idx => $contact) {