Skip to content

Commit 3e8ffc6

Browse files
authored
Merge pull request #52 from openimis/feature/fix-ci-locaiton-not-found
fix location not found
2 parents 343e06b + b4180c9 commit 3e8ffc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

payroll/tests/helpers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ def __create_user_interactive_core(self, **kwargs):
3232

3333

3434
class PaymentPointHelper:
35-
_TEST_DATA_PAYMENT_POINT = {
35+
_TEST_DATA_PAYMENT_POINT = None
36+
def __init__(self):
37+
self._TEST_DATA_PAYMENT_POINT= {
3638
"name": "TestPaymentPoint",
3739
"location": Location.objects.filter(validity_to__isnull=True, type='V').first()
3840
}

0 commit comments

Comments
 (0)