projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
--CRM-17240, fixed tests
[civicrm-core.git]
/
tests
/
phpunit
/
api
/
v3
/
ContributionTest.php
diff --git
a/tests/phpunit/api/v3/ContributionTest.php
b/tests/phpunit/api/v3/ContributionTest.php
index a16d2615232b64372f3cdc1b2a7f022f8354fd0f..497703f6e52889d67c9b9b29541251e2240a7e17 100644
(file)
--- a/
tests/phpunit/api/v3/ContributionTest.php
+++ b/
tests/phpunit/api/v3/ContributionTest.php
@@
-1669,6
+1669,7
@@
class api_v3_ContributionTest extends CiviUnitTestCase {
'price_field_id' => $priceField['id'],
'label' => 'Long Haired Goat',
'amount' => 20,
'price_field_id' => $priceField['id'],
'label' => 'Long Haired Goat',
'amount' => 20,
+ 'financial_type_id' => 'Donation',
'membership_type_id' => $membershipTypeID,
'membership_num_terms' => 1,
)
'membership_type_id' => $membershipTypeID,
'membership_num_terms' => 1,
)
@@
-1679,6
+1680,7
@@
class api_v3_ContributionTest extends CiviUnitTestCase {
'price_field_id' => $priceField['id'],
'label' => 'Shoe-eating Goat',
'amount' => 10,
'price_field_id' => $priceField['id'],
'label' => 'Shoe-eating Goat',
'amount' => 10,
+ 'financial_type_id' => 'Donation',
'membership_type_id' => $membershipTypeID,
'membership_num_terms' => 2,
)
'membership_type_id' => $membershipTypeID,
'membership_num_terms' => 2,
)