);
$this->callAPISuccess('address', 'create', array_merge($this->_params, $individualParams));
$this->callAPISuccess('relationship', 'getcount', array(
- 'contact_id_a' => $individualID,
- 'contact_id_b' => $this->_contactID,
- ));
+ 'contact_id_a' => $individualID,
+ 'contact_id_b' => $this->_contactID,
+ ));
}
/**
);
$this->callAPISuccess('address', 'create', array_merge($this->_params, $individualParams));
$this->callAPISuccess('relationship', 'getcount', array(
- 'contact_id_a' => $individualID,
- 'contact_id_b' => $this->_contactID,
- ));
+ 'contact_id_a' => $individualID,
+ 'contact_id_b' => $this->_contactID,
+ ));
}
/**
$this->markTestIncomplete('Remainder of test checks that employer relationship is disabled when new one is created but turns out to be not happening - by design?');
$this->callAPISuccessGetCount('relationship', array('contact_id_a' => $individualID, 'is_active' => FALSE), 1);
$this->callAPISuccessGetCount('relationship', array(
- 'contact_id_a' => $individualID,
- 'is_active' => TRUE,
- 'contact_id_b' => $organisation2ID,
- ), 1);
+ 'contact_id_a' => $individualID,
+ 'is_active' => TRUE,
+ 'contact_id_b' => $organisation2ID,
+ ), 1);
}
}
/**
- *
*/
public function testGetWithCustom() {
$ids = $this->entityCustomGroupWithSingleFieldCreate(__FUNCTION__, __FILE__);
}
/**
- *
*/
public function testCreateAddressPrimaryHandlingChangeToPrimary() {
$params = $this->_params;
}
/**
- *
*/
public function testCreateAddressPrimaryHandlingChangeExisting() {
$address1 = $this->callAPISuccess('address', 'create', $this->_params);