projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NFC] CRM-19033 improve standardisation of tests
[civicrm-core.git]
/
tests
/
phpunit
/
CRM
/
Core
/
BAO
/
CustomValueTableSetGetTest.php
diff --git
a/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php
b/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php
index e633279f9a78d093ea1bab92b83a119805a41a9d..2759866242eee7f5bd0760e7d25fe21bda40e565 100644
(file)
--- a/
tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php
+++ b/
tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php
@@
-15,7
+15,7
@@
class CRM_Core_BAO_CustomValueTableSetGetTest extends CiviUnitTestCase {
*/
public function testSetGetValuesDate() {
$params = array();
*/
public function testSetGetValuesDate() {
$params = array();
- $contactID =
Contact::createIndividual
();
+ $contactID =
$this->individualCreate
();
//create Custom Group
$customGroup = Custom::createGroup($params, 'Individual', TRUE);
//create Custom Group
$customGroup = Custom::createGroup($params, 'Individual', TRUE);
@@
-114,7
+114,7
@@
class CRM_Core_BAO_CustomValueTableSetGetTest extends CiviUnitTestCase {
*/
public function testSetGetValuesYesNoRadio() {
$params = array();
*/
public function testSetGetValuesYesNoRadio() {
$params = array();
- $contactID =
Contact::createIndividual
();
+ $contactID =
$this->individualCreate
();
//create Custom Group
$customGroup = Custom::createGroup($params, 'Individual', TRUE);
//create Custom Group
$customGroup = Custom::createGroup($params, 'Individual', TRUE);