From e95e61d4b4cc1236b99adda22a69e1fb9acbd8a3 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Mon, 7 Dec 2020 10:19:43 -0500 Subject: [PATCH] Fix tests #807 --- tests/FinanceTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/FinanceTest.php b/tests/FinanceTest.php index 7b891928..5cf4fd16 100644 --- a/tests/FinanceTest.php +++ b/tests/FinanceTest.php @@ -956,7 +956,7 @@ class FinanceTest extends TestCase // $this->assertCount(9, $transactions['transactions']); $this->assertEquals(3020, $transactions['credits']->getValue()); - $this->assertEquals(2050, $transactions['debits']->getValue()); + $this->assertEquals(2040, $transactions['debits']->getValue()); // Check that all the different transaction types are there // test by the different groups that exist @@ -995,7 +995,7 @@ class FinanceTest extends TestCase $transactions = $journalRepo->getAllForObject($pirep2); $this->assertEquals(3020, $transactions['credits']->getValue()); - $this->assertEquals(2150, $transactions['debits']->getValue()); + $this->assertEquals(2140, $transactions['debits']->getValue()); // Check that all the different transaction types are there // test by the different groups that exist