diff --git a/payroll/tests/helpers.py b/payroll/tests/helpers.py index a739a13..adcfd2a 100644 --- a/payroll/tests/helpers.py +++ b/payroll/tests/helpers.py @@ -32,7 +32,9 @@ def __create_user_interactive_core(self, **kwargs): class PaymentPointHelper: - _TEST_DATA_PAYMENT_POINT = { + _TEST_DATA_PAYMENT_POINT = None + def __init__(self): + self._TEST_DATA_PAYMENT_POINT= { "name": "TestPaymentPoint", "location": Location.objects.filter(validity_to__isnull=True, type='V').first() }