From c7d11b8593a2a22d212fa33261baece97f5f4955 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Thu, 7 Jan 2016 13:35:01 -0800 Subject: [PATCH] Correct totals again. I am pretty sure these are right now. --- Supporters/t/Supporters.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Supporters/t/Supporters.t b/Supporters/t/Supporters.t index 905730d..d0f0794 100644 --- a/Supporters/t/Supporters.t +++ b/Supporters/t/Supporters.t @@ -856,7 +856,7 @@ lives_ok { $amount = $sp->donorTotalGaveInPeriod(donorId => $olsonId, startDate endDate => '2015-06-29') } "donorTotalGaveInPeriod(): check for total with both start and end date succeeds..."; -is($amount, 20.00, "donorTotalGaveInPeriod(): ...and returned value is correct. "); +is($amount, 30.00, "donorTotalGaveInPeriod(): ...and returned value is correct. "); lives_ok { $amount = $sp->donorTotalGaveInPeriod(donorId => $harrisId, startDate => '2015-12-04'); } "donorTotalGaveInPeriod(): check for total with just a start date succeeds..."; @@ -866,7 +866,7 @@ is($amount, 120.00, "donorTotalGaveInPeriod(): ...and returned value is correct lives_ok { $amount = $sp->donorTotalGaveInPeriod(donorId => $olsonId, endDate => '2015-02-16'); } "donorTotalGaveInPeriod(): check for total with just a end date succeeds..."; -is($amount, 10.00, "donorTotalGaveInPeriod(): ...and returned value is correct. "); +is($amount, 20.00, "donorTotalGaveInPeriod(): ...and returned value is correct. "); =item donorDonationOnDate