예제 #1
0
 /**
  * Test civicrm_activity_create() using example code
  */
 public function testUFMatchGetExample()
 {
     require_once 'api/v3/examples/UFMatch/Get.php';
     $result = UF_match_get_example();
     $expectedResult = UF_match_get_expectedresult();
     $this->assertEquals($result, $expectedResult);
 }
예제 #2
0
/**
 *  Test civicrm_activity_create() using example code
 */
function testNoteCreateExample()
{
    require_once 'api/v3/examples/NoteCreate.php';
    $result = UF_match_get_example();
    $expectedResult = UF_match_get_expectedresult();
    $this->assertEquals($result, $expectedResult);
}