--CRM-17240, fixed tests
[civicrm-core.git] / tests / phpunit / api / v3 / ContributionTest.php
index a16d2615232b64372f3cdc1b2a7f022f8354fd0f..497703f6e52889d67c9b9b29541251e2240a7e17 100644 (file)
@@ -1669,6 +1669,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
         'price_field_id' => $priceField['id'],
         'label' => 'Long Haired Goat',
         'amount' => 20,
+        'financial_type_id' => 'Donation',
         '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,
+        'financial_type_id' => 'Donation',
         'membership_type_id' => $membershipTypeID,
         'membership_num_terms' => 2,
       )