/**
* This example has been generated from the API test suite.
* The test that created it is called
-* testCreateContributionWithSoftCredt
+* testCreateContributionWithSoftCredit
* and can be found in
* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionTest.php
*
*/
public function testContributionCreateExample() {
//make sure at least on page exists since there is a truncate in tear down
- $page = $this->callAPISuccess('contribution_page', 'create', $this->_pageParams);
- $this->assertAPISuccess($page);
+ $this->callAPISuccess('contribution_page', 'create', $this->_pageParams);
require_once 'api/v3/examples/Contribution/Create.php';
$result = contribution_create_example();
$this->assertAPISuccess($result);