From: monishdeb Date: Tue, 3 Sep 2013 07:32:47 +0000 (+0530) Subject: CRM testfixes related to Report X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f81c4bbb6298b0261bdd2e9adc107ec064fe74b9;p=civicrm-core.git CRM testfixes related to Report --- diff --git a/tests/phpunit/CRM/Report/Form/Contribute/fixtures/report.csv b/tests/phpunit/CRM/Report/Form/Contribute/fixtures/report.csv new file mode 100644 index 0000000000..e0309a1a09 --- /dev/null +++ b/tests/phpunit/CRM/Report/Form/Contribute/fixtures/report.csv @@ -0,0 +1,9 @@ +"Donor Name","First Name","Donor Email","Amount" +" Empowerment Association", , ,"$ 50.00" +"Bachman, Lincoln","Lincoln", ,"$ 175.00" +"Blackwell, Sanford","Sanford","st.blackwell3@testmail.co.pl","$ 250.00" +"Dimitrov, Kenny","Kenny", ,"$ 50.00" +"Grant, Megan","Megan","grantm@fishmail.net","$ 500.00" +"merriechowski95@notmail.info", ,"merrie@testmail.co.nz","$ 125.00" +"Müller, Billy","Billy","mller.billy30@example.org","$ 50.00" +"Smith, Errol","Errol","errols@sample.com","$ 500.00" diff --git a/tests/phpunit/CRM/Report/Form/TestCaseTest.php b/tests/phpunit/CRM/Report/Form/TestCaseTest.php index 36f19607a9..60a1b446ee 100644 --- a/tests/phpunit/CRM/Report/Form/TestCaseTest.php +++ b/tests/phpunit/CRM/Report/Form/TestCaseTest.php @@ -51,6 +51,7 @@ class CRM_Report_Form_TestCaseTest extends CiviReportTestCase { 'CRM_Report_Form_Contribute_Detail', array( 'fields' => array( + 'sort_name', 'first_name', 'email', 'total_amount', @@ -84,6 +85,7 @@ class CRM_Report_Form_TestCaseTest extends CiviReportTestCase { 'CRM_Report_Form_Contribute_Detail', array( 'fields' => array( + 'sort_name', 'first_name', 'email', 'total_amount', @@ -104,6 +106,7 @@ class CRM_Report_Form_TestCaseTest extends CiviReportTestCase { 'CRM_Report_Form_Contribute_Detail', array( 'fields' => array( + 'sort_name', 'first_name', 'email', 'total_amount',