From 81e5b63c9fa917d71dbc1b916a18de93a3e8bdf9 Mon Sep 17 00:00:00 2001 From: Kenneth Trecy Tobias Date: Sun, 19 May 2024 13:44:01 +0800 Subject: [PATCH] test(feature): consider direction of cash flow category for accounts --- t/Feature/Resource/AccountTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/Feature/Resource/AccountTest.php b/t/Feature/Resource/AccountTest.php index 4ededee..0d88d23 100644 --- a/t/Feature/Resource/AccountTest.php +++ b/t/Feature/Resource/AccountTest.php @@ -178,7 +178,7 @@ public function testCategorizedUpdate() $account = $account_fabricator->create(); $new_cash_flow_category = $cash_flow_category_fabricator->create(); $account_fabricator->setOverrides([ - "cash_flow_category_id" => $new_cash_flow_category->id + "increase_cash_flow_category_id" => $new_cash_flow_category->id ]); $new_details = $account_fabricator->make(); @@ -213,11 +213,11 @@ public function testUncategorizedUpdate() $account_fabricator = new Fabricator(AccountModel::class); $account_fabricator->setOverrides([ "currency_id" => $currency->id, - "cash_flow_category_id" => $cash_flow_category->id + "decrease_cash_flow_category_id" => $cash_flow_category->id ]); $account = $account_fabricator->create(); $account_fabricator->setOverrides([ - "cash_flow_category_id" => null + "decrease_cash_flow_category_id" => null ]); $new_details = $account_fabricator->make();