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
/
Member
/
BAO
/
MembershipLogTest.php
diff --git
a/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php
b/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php
index 9e0b1c246903673aa5c5550e72c2170804c90b6d..7c1fda99272441a9c0b7ee9bd9f110c269bca5b1 100644
(file)
--- a/
tests/phpunit/CRM/Member/BAO/MembershipLogTest.php
+++ b/
tests/phpunit/CRM/Member/BAO/MembershipLogTest.php
@@
-79,7
+79,7
@@
class CRM_Member_BAO_MembershipLogTest extends CiviUnitTestCase {
* Test add()
*/
public function testadd() {
* Test add()
*/
public function testadd() {
- $contactId =
Contact::createIndividual
();
+ $contactId =
$this->individualCreate
();
$params = array(
'contact_id' => $contactId,
$params = array(
'contact_id' => $contactId,
@@
-107,7
+107,7
@@
class CRM_Member_BAO_MembershipLogTest extends CiviUnitTestCase {
* Test del()
*/
public function testdel() {
* Test del()
*/
public function testdel() {
- $contactId =
Contact::createIndividual
();
+ $contactId =
$this->individualCreate
();
$params = array(
'contact_id' => $contactId,
$params = array(
'contact_id' => $contactId,
@@
-136,7
+136,7
@@
class CRM_Member_BAO_MembershipLogTest extends CiviUnitTestCase {
* Test resetmodified()
*/
public function testresetmodifiedId() {
* Test resetmodified()
*/
public function testresetmodifiedId() {
- $contactId =
Contact::createIndividual
();
+ $contactId =
$this->individualCreate
();
$params = array(
'contact_id' => $contactId,
$params = array(
'contact_id' => $contactId,