Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
saleem-hadad committed Jul 16, 2022
1 parent ac50e0c commit 3a80f39
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/Feature/TotalExpensesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function it_returns_correct_value()
}
')->assertJson([
'data' => [
'totalExpenses' => '{"value":10001.0,"previous":0.0}'
'totalExpenses' => '{"value":"10001.0","previous":0}'
],
]);
}
Expand All @@ -51,7 +51,7 @@ public function it_returns_correct_previous_value()
}
')->assertJson([
'data' => [
'totalExpenses' => '{"value":0.0,"previous":10001.0}'
'totalExpenses' => '{"value":0,"previous":"10001.0"}'
],
]);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/TotalIncomeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function it_returns_correct_previous_value()
}
')->assertJson([
'data' => [
'totalIncome' => '{"value":0.0,"previous":133.0}'
'totalIncome' => '{"value":0.0,"previous":"133.0"}'
],
]);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/TotalInvestmentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function it_returns_correct_data()
}
')->assertJson([
'data' => [
'totalInvestment' => '{"value":133.0}'
'totalInvestment' => '{"value":"133.0"}'
],
]);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/TotalSavingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function it_returns_correct_data()
}
')->assertJson([
'data' => [
'totalSavings' => '{"value":133.0}'
'totalSavings' => '{"value":"133.0"}'
],
]);
}
Expand Down

0 comments on commit 3a80f39

Please sign in to comment.