Skip to content
Snippets Groups Projects
Commit eebc189a authored by Dave Greenberg's avatar Dave Greenberg
Browse files

Merge pull request #2144 from davecivicrm/CRM-13880b

CRM-13880 - Fix testContributionCreateExample to reflect change in contr...
parents c33c914c 8e342a79
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ function contribution_create_expectedresult(){
'contact_id' => '1',
'financial_type_id' => '1',
'contribution_page_id' => '1',
'payment_instrument_id' => '',
'payment_instrument_id' => '4',
'receive_date' => '20120511000000',
'non_deductible_amount' => '',
'total_amount' => '100',
......
......@@ -644,7 +644,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
$this->assertAPISuccess($result);
$contributionId = $result['id'];
$expectedResult = contribution_create_expectedresult();
$this->checkArrayEquals($result, $expectedResult);
$this->checkArrayEquals($expectedResult, $result);
$this->contributionDelete($contributionId);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment