From 8263967fc924b032cb5216928d0def18cdb220d8 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Sun, 27 Sep 2015 15:14:52 -0400 Subject: [PATCH] CRM_Report_Form_Contribute_DetailTest, CRM_Report_Form_TestCaseTest - Spaces It appears that the content of the report CSV has changed slightly -- in certain cases with undefined/missing info, it had returned a literal space (' ') but now returns a empty string (''). Empty string seems a bit better, so updating the unit-tests to match. --- .../CRM/Report/Form/Contribute/fixtures/report-ascii.csv | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/phpunit/CRM/Report/Form/Contribute/fixtures/report-ascii.csv b/tests/phpunit/CRM/Report/Form/Contribute/fixtures/report-ascii.csv index fcdc038678..c1990e5d5a 100644 --- a/tests/phpunit/CRM/Report/Form/Contribute/fixtures/report-ascii.csv +++ b/tests/phpunit/CRM/Report/Form/Contribute/fixtures/report-ascii.csv @@ -1,9 +1,9 @@ "Donor Name","First Name","Donor Email","Amount" -" Empowerment Association", , ,"$ 50.00" -"Bachman, Lincoln","Lincoln", ,"$ 175.00" +" Empowerment Association",,,"$ 50.00" +"Bachman, Lincoln","Lincoln",,"$ 175.00" "Blackwell, Sanford","Sanford","st.blackwell3@testmail.co.pl","$ 250.00" -"Dimitrov, Kenny","Kenny", ,"$ 50.00" +"Dimitrov, Kenny","Kenny",,"$ 50.00" "Grant, Megan","Megan","grantm@fishmail.net","$ 500.00" -"merriechowski95@notmail.info", ,"merrie@testmail.co.nz","$ 125.00" +"merriechowski95@notmail.info",,"merrie@testmail.co.nz","$ 125.00" "Muller, Billy","Billy","mller.billy30@example.org","$ 50.00" "Smith, Errol","Errol","errols@sample.com","$ 500.00" -- 2.25.1