Skip to content

Commit

Permalink
test(feature): consider direction of cash flow category for accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed May 19, 2024
1 parent 66c70ab commit 81e5b63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/Feature/Resource/AccountTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 81e5b63

Please sign in to comment.