X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fapi%2Fv3%2FParticipantTest.php;h=dd0ac6166ae88576ac222d7d64e438d0c22bd6a1;hb=5c49fee0464f5e057f4ff6f1ae974fe0dc6a7748;hp=370c3bf27dce27605d5ff8948d5449c7c63ed814;hpb=f78cb947d3187657b27ce042949804c6798b6afc;p=civicrm-core.git diff --git a/tests/phpunit/api/v3/ParticipantTest.php b/tests/phpunit/api/v3/ParticipantTest.php index 370c3bf27d..dd0ac6166a 100644 --- a/tests/phpunit/api/v3/ParticipantTest.php +++ b/tests/phpunit/api/v3/ParticipantTest.php @@ -193,7 +193,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase { 'contact_id' => $this->_contactID, )); - $description = "use nested get to get an event"; + $description = "Demonstrates use of nested get to fetch event data with participant records."; $subfile = "NestedEventGet"; $params = array( 'id' => $this->_participantID, @@ -688,7 +688,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase { * Delete with a get - a 'criteria delete' */ public function testNestedDelete() { - $description = "Criteria delete by nesting a GET & a DELETE"; + $description = "Criteria delete by nesting a GET & a DELETE."; $subfile = "NestedDelete"; $participants = $this->callAPISuccess('Participant', 'Get', array()); $this->assertEquals($participants['count'], 3); @@ -702,8 +702,8 @@ class api_v3_ParticipantTest extends CiviUnitTestCase { * Test creation of a participant with an associated contribution. */ public function testCreateParticipantWithPayment() { - $description = "single function to create contact w partipation & contribution. Note that in the - case of 'contribution' the 'create' is implied (api.contribution.create)"; + $description = "Single function to create contact with partipation & contribution. + Note that in the case of 'contribution' the 'create' is implied (api.contribution.create)"; $subfile = "CreateParticipantPayment"; $params = array( 'contact_type' => 'Individual',