projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #19806 from eileenmcnaughton/msg_compat
[civicrm-core.git]
/
tests
/
phpunit
/
api
/
v3
/
CRM11793Test.php
diff --git
a/tests/phpunit/api/v3/CRM11793Test.php
b/tests/phpunit/api/v3/CRM11793Test.php
index 61484322fe3fe5dca88a084339fe9bd692b3fd35..e1a5a5b6ebd981fa20b81b0515df84b6c7817da7 100644
(file)
--- a/
tests/phpunit/api/v3/CRM11793Test.php
+++ b/
tests/phpunit/api/v3/CRM11793Test.php
@@
-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
*/
* 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();
parent::setUp();
$this->individualCreate();
@@
-26,7
+26,8
@@
class api_v3_CRM11793Test extends CiviUnitTestCase {
$this->organizationCreate();
}
$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',
$result = $this->callAPISuccess(
'contact',
'get',
- array(
+ [
'contact_type' => $contactType,
'contact_type' => $contactType,
- )
+ ]
);
foreach ($result['values'] as $idx => $contact) {
);
foreach ($result['values'] as $idx => $contact) {