Merge pull request #11572 from civicrm/4.7.30-rc
authorEileen McNaughton <eileen@mcnaughty.com>
Mon, 22 Jan 2018 22:49:17 +0000 (11:49 +1300)
committerGitHub <noreply@github.com>
Mon, 22 Jan 2018 22:49:17 +0000 (11:49 +1300)
4.7.30 rc to master

1  2 
CRM/Contribute/Form/AbstractEditPayment.php
CRM/Contribute/Form/Contribution.php
CRM/Member/BAO/Membership.php
tests/phpunit/CRM/Contribute/Form/ContributionTest.php
tests/phpunit/CRM/Member/Form/MembershipTest.php

Simple merge
Simple merge
index 005ca08bf4822a35d9eda5f4e47b8dc9c86c92fe,cb565d468fb7b383cf94f8087e5d342ae932ba71..60e6d2cecd5ed6974614ed0a93675bab7235ed6e
@@@ -143,12 -143,19 +143,17 @@@ class CRM_Contribute_Form_ContributionT
  
    /**
     * Test the submit function on the contribution page.
+    *
+    * @param string $thousandSeparator
+    *
+    * @dataProvider getThousandSeparators
     */
-   public function testSubmit() {
+   public function testSubmit($thousandSeparator) {
+     $this->setCurrencySeparators($thousandSeparator);
      $form = new CRM_Contribute_Form_Contribution();
      $form->testSubmit(array(
-       'total_amount' => 50,
+       'total_amount' => $this->formatMoneyInput(1234),
        'financial_type_id' => 1,
 -      'receive_date' => '04/21/2015',
 -      'receive_date_time' => '11:27PM',
        'contact_id' => $this->_individualId,
        'payment_instrument_id' => array_search('Check', $this->paymentInstruments),
        'contribution_status_id' => 1,