CRM testfixes related to Report
authormonishdeb <monish.deb@webaccess.co.in>
Tue, 3 Sep 2013 07:32:47 +0000 (13:02 +0530)
committermonishdeb <monish.deb@webaccess.co.in>
Tue, 3 Sep 2013 07:32:47 +0000 (13:02 +0530)
tests/phpunit/CRM/Report/Form/Contribute/fixtures/report.csv [new file with mode: 0644]
tests/phpunit/CRM/Report/Form/TestCaseTest.php

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 (file)
index 0000000..e0309a1
--- /dev/null
@@ -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" 
index 36f19607a948733cdaf3bb8a0f5be74c314c76ad..60a1b446eeb3c16b56e691f34f46b0010fd64785 100644 (file)
@@ -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',