Switch back from config to settings

This commit is contained in:
Dorian Lesbre 2021-02-20 20:59:54 +01:00
parent cc7c4306f4
commit 23f7865140
5 changed files with 22 additions and 18 deletions

View file

@ -4310,8 +4310,6 @@ class SettingsUpdateViewTests(ViewTestCaseMixin, TestCase):
"kfet_overdraft_duration": "2 00:00:00",
"kfet_overdraft_amount": "25",
"kfet_cancel_duration": "00:20:00",
"kfet_history_limit": "5 00:00:00",
"kfet_history_long_limit": "60 00:00:00",
}
def get_users_extra(self):
@ -4333,8 +4331,6 @@ class SettingsUpdateViewTests(ViewTestCaseMixin, TestCase):
"overdraft_duration": timedelta(days=2),
"overdraft_amount": Decimal("25"),
"cancel_duration": timedelta(minutes=20),
"history_limit": timedelta(days=5),
"history_long_limit": timedelta(days=60),
}
for key, expected in expected_config.items():