Renamed the "journal_entry_date" variable to "date" in the "test_reorder" test of the JournalEntryReorderTestCase test case.
This commit is contained in:
parent
169b3c292a
commit
10f5e75752
@ -2176,11 +2176,10 @@ class JournalEntryReorderTestCase(unittest.TestCase):
|
|||||||
self.__get_add_disbursement_form())
|
self.__get_add_disbursement_form())
|
||||||
|
|
||||||
with self.app.app_context():
|
with self.app.app_context():
|
||||||
journal_entry_date: dt.date \
|
date: dt.date = db.session.get(JournalEntry, id_1).date
|
||||||
= db.session.get(JournalEntry, id_1).date
|
|
||||||
|
|
||||||
response = self.client.post(
|
response = self.client.post(
|
||||||
f"{PREFIX}/dates/{journal_entry_date.isoformat()}",
|
f"{PREFIX}/dates/{date.isoformat()}",
|
||||||
data={"csrf_token": self.csrf_token,
|
data={"csrf_token": self.csrf_token,
|
||||||
"next": "/next",
|
"next": "/next",
|
||||||
f"{id_1}-no": "4",
|
f"{id_1}-no": "4",
|
||||||
@ -2208,7 +2207,7 @@ class JournalEntryReorderTestCase(unittest.TestCase):
|
|||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
response = self.client.post(
|
response = self.client.post(
|
||||||
f"{PREFIX}/dates/{journal_entry_date.isoformat()}",
|
f"{PREFIX}/dates/{date.isoformat()}",
|
||||||
data={"csrf_token": self.csrf_token,
|
data={"csrf_token": self.csrf_token,
|
||||||
"next": "/next",
|
"next": "/next",
|
||||||
f"{id_2}-no": "3a",
|
f"{id_2}-no": "3a",
|
||||||
|
Loading…
Reference in New Issue
Block a user