예제 #1
0
 /**
  * Test civicrm_activity_create() using example code.
  */
 public function testActivityCreateExample()
 {
     require_once 'api/v3/examples/Activity/Create.php';
     $result = activity_create_example();
     $expectedResult = activity_create_expectedresult();
     $this->assertEquals($result, $expectedResult);
 }
예제 #2
0
 function testActivityCreateExample()
 {
     /**
      *  Test civicrm_activity_create() using example code
      */
     require_once 'api/v3/examples/ActivityCreate.php';
     $result = activity_create_example();
     $expectedResult = activity_create_expectedresult();
     $this->assertEquals($result, $expectedResult);
 }