Revised the form data used in the SummeryHelperTestCase test case, to avoid problems with SonarQube.
This commit is contained in:
parent
14ed4ca354
commit
f049b5d7ee
@ -206,7 +206,7 @@ def get_form_data(csrf_token: str) -> list[dict[str, str]]:
|
||||
"currency-0-credit-0-summary": " Lunch—Salad ",
|
||||
"currency-0-credit-0-amount": "4.99",
|
||||
"currency-0-debit-1-account_code": Accounts.MEAL,
|
||||
"currency-0-debit-1-summary": " Dinner—Steak ",
|
||||
"currency-0-debit-1-summary": " Dinner—Steak ",
|
||||
"currency-0-debit-1-amount": "8.28",
|
||||
"currency-0-credit-1-account_code": Accounts.PAYABLE,
|
||||
"currency-0-credit-1-summary": " Dinner—Steak ",
|
||||
@ -216,7 +216,7 @@ def get_form_data(csrf_token: str) -> list[dict[str, str]]:
|
||||
"date": txn_date,
|
||||
"currency-0-code": "USD",
|
||||
"currency-0-debit-0-account_code": Accounts.MEAL,
|
||||
"currency-0-debit-0-summary": " Lunch—Pizza ",
|
||||
"currency-0-debit-0-summary": " Lunch—Pizza ",
|
||||
"currency-0-debit-0-amount": "5.49",
|
||||
"currency-0-credit-0-account_code": Accounts.PAYABLE,
|
||||
"currency-0-credit-0-summary": " Lunch—Pizza ",
|
||||
@ -313,7 +313,7 @@ def get_form_data(csrf_token: str) -> list[dict[str, str]]:
|
||||
"date": txn_date,
|
||||
"currency-0-code": "USD",
|
||||
"currency-0-debit-0-account_code": Accounts.PAYABLE,
|
||||
"currency-0-debit-0-summary": " Dinner—Steak ",
|
||||
"currency-0-debit-0-summary": " Dinner—Steak ",
|
||||
"currency-0-debit-0-amount": "8.28",
|
||||
"currency-0-credit-0-account_code": Accounts.BANK,
|
||||
"currency-0-credit-0-summary": " Dinner—Steak ",
|
||||
@ -322,6 +322,6 @@ def get_form_data(csrf_token: str) -> list[dict[str, str]]:
|
||||
"currency-0-debit-1-summary": " Lunch—Pizza ",
|
||||
"currency-0-debit-1-amount": "5.49",
|
||||
"currency-0-credit-1-account_code": Accounts.BANK,
|
||||
"currency-0-credit-1-summary": " Lunch—Pizza ",
|
||||
"currency-0-credit-1-summary": " Lunch—Pizza ",
|
||||
"currency-0-credit-1-amount": "5.49"}]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user