Skip to content

Commit

Permalink
remove technical user test
Browse files Browse the repository at this point in the history
  • Loading branch information
delcroip committed Oct 3, 2024
1 parent b0fae47 commit 8a8a023
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contract/tests/services/services_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from contract.services import Contract as ContractService, ContractDetails as ContractDetailsService, \
ContractContributionPlanDetails as ContractContributionPlanDetailsService
from contract.models import Contract, ContractDetails, ContractContributionPlanDetails
from core.test_helpers import create_test_technical_user
from core.test_helpers import create_test_interactive_user
from policyholder.tests.helpers import create_test_policy_holder, create_test_policy_holder_insuree
from contribution_plan.tests.helpers import create_test_contribution_plan, \
create_test_contribution_plan_bundle, create_test_contribution_plan_bundle_details
Expand All @@ -19,7 +19,7 @@ def setUpClass(cls):
super(ServiceTestContract, cls).setUpClass()
cls.user = User.objects.filter(username='admin').first()
if not cls.user:
cls.user = create_test_technical_user(username='admin', password='S\/pe®Pąßw0rd™', super_user=True)
cls.user = create_test_interactive_user(username='admin', password='S\/pe®Pąßw0rd™', super_user=True)
cls.contract_service = ContractService(cls.user)
cls.contract_details_service = ContractDetailsService(cls.user)
cls.contract_contribution_plan_details_service = ContractContributionPlanDetailsService(cls.user)
Expand Down Expand Up @@ -304,7 +304,7 @@ def setUpClass(cls):
super(CalculationContractTest, cls).setUpClass()
cls.user = User.objects.filter(username='admin').first()
if not cls.user:
cls.user = create_test_technical_user(username='admin', password='S\/pe®Pąßw0rd™', super_user=True)
cls.user = create_test_interactive_user(username='admin', password='S\/pe®Pąßw0rd™', super_user=True)
cls.contract_service = ContractService(cls.user)
cls.income = 500
cls.rate = 5
Expand Down

0 comments on commit 8a8a023

Please sign in to comment.