Skip to content

Commit

Permalink
phone| fix: repeat date again
Browse files Browse the repository at this point in the history
  • Loading branch information
varissara-techup committed May 19, 2024
1 parent eec6292 commit 43cef95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api/transaction/summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (h handler) GetSummaryBalanceHandler(c echo.Context) error {
},
{
Id: 3,
Date: "2024-10-29T19:00:00.000Z",
Date: "2024-10-28T19:00:00.000Z",
Amount: 2000,
Catergory: "Transport",
TransactionType: "income",
Expand All @@ -90,7 +90,7 @@ func (h handler) GetSummaryBalanceHandler(c echo.Context) error {
},
{
Id: 4,
Date: "2024-10-29T19:00:00.000Z",
Date: "2024-10-27T19:00:00.000Z",
Amount: 2000,
Catergory: "Transport",
TransactionType: "expense",
Expand Down
6 changes: 3 additions & 3 deletions api/transaction/summary_calculation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var mockSpecificTypeTransaction = []Transaction{
},
{
Id: 3,
Date: "2024-04-29T19:00:00.000Z",
Date: "2024-04-28T19:00:00.000Z",
Amount: 2000,
Catergory: "Transport",
TransactionType: "income",
Expand All @@ -48,7 +48,7 @@ var mockTransaction = []Transaction{
},
{
Id: 2,
Date: "2024-05-29T19:00:00.000Z",
Date: "2024-05-28T19:00:00.000Z",
Amount: 2000,
Catergory: "Transport",
TransactionType: "income",
Expand All @@ -68,7 +68,7 @@ var mockTransaction = []Transaction{
},
{
Id: 4,
Date: "2024-04-29T19:00:00.000Z",
Date: "2024-04-26T19:00:00.000Z",
Amount: 2000,
Catergory: "Transport",
TransactionType: "expense",
Expand Down

0 comments on commit 43cef95

Please sign in to comment.