Skip to content

Commit

Permalink
Merge pull request #1575 from monishdeb/CRMtests
Browse files Browse the repository at this point in the history
CRM testfixes related to Report
  • Loading branch information
kurund committed Sep 3, 2013
2 parents 55f7525 + f81c4bb commit 8baccda
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/phpunit/CRM/Report/Form/Contribute/fixtures/report.csv
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 3 additions & 0 deletions tests/phpunit/CRM/Report/Form/TestCaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function dataProvider() {
'CRM_Report_Form_Contribute_Detail',
array(
'fields' => array(
'sort_name',
'first_name',
'email',
'total_amount',
Expand Down Expand Up @@ -84,6 +85,7 @@ public function badDataProvider() {
'CRM_Report_Form_Contribute_Detail',
array(
'fields' => array(
'sort_name',
'first_name',
'email',
'total_amount',
Expand All @@ -104,6 +106,7 @@ public function badDataProvider() {
'CRM_Report_Form_Contribute_Detail',
array(
'fields' => array(
'sort_name',
'first_name',
'email',
'total_amount',
Expand Down

0 comments on commit 8baccda

Please sign in to comment.