From f81c4bbb6298b0261bdd2e9adc107ec064fe74b9 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Tue, 3 Sep 2013 13:02:47 +0530 Subject: [PATCH] CRM testfixes related to Report --- .../CRM/Report/Form/Contribute/fixtures/report.csv | 9 +++++++++ tests/phpunit/CRM/Report/Form/TestCaseTest.php | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 tests/phpunit/CRM/Report/Form/Contribute/fixtures/report.csv 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', -- 2.25.1