Skip to content

Commit

Permalink
OM-243: fixed one assert
Browse files Browse the repository at this point in the history
  • Loading branch information
sniedzielski committed Aug 20, 2024
1 parent d2110bf commit 91d8cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker_voucher/tests/test_create_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_create_worker_false_not_existing_economic_unit(self):
mutation_log = MutationLog.objects.get(client_mutation_id=mutation_id)
self.assertTrue(mutation_log.error)
workers = Insuree.objects.filter(chf_id=national_id)
self.assertEquals(workers, None)
self.assertEquals(workers.count(), 0)

def test_create_worker_already_assigned_to_economic_unit(self):
InsureeConfig.reset_validation_settings()
Expand Down

0 comments on commit 91d8cb5

Please sign in to comment.