Skip to content

Commit

Permalink
[#233] Fix tests and pre-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmursa-dev committed Jan 15, 2025
1 parent 53727a3 commit 9269b0c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2182,7 +2182,7 @@ def test_invalid_validation_partij_identificator_object_id(self):
self.assertEqual(response.data["invalid_params"][0]["code"], "invalid")
self.assertEqual(
response.data["invalid_params"][0]["reason"],
"ObjectId ongeldig, reden: Waarde moet 9 tekens lang zijn",
"ObjeDeze waarde is ongeldig, reden: Waarde moet 9 tekens lang zijn",
)

def test_valid_validation_partij_identificator(self):
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def test_invalid_object_id_len_bsn(self):
details = error.exception.message_dict
self.assertEqual(
details["partij_identificator_object_id"][0],
"ObjectId ongeldig, reden: Waarde moet 9 tekens lang zijn",
"Deze waarde is ongeldig, reden: Waarde moet 9 tekens lang zijn",
)

def test_invalid_object_id_digit_bsn(self):
Expand All @@ -199,7 +199,7 @@ def test_invalid_object_id_digit_bsn(self):
details = error.exception.message_dict
self.assertEqual(
details["partij_identificator_object_id"][0],
"ObjectId ongeldig, reden: Voer een numerieke waarde in",
"Deze waarde is ongeldig, reden: Voer een numerieke waarde in",
)

def test_invalid_object_id_proef11_bsn(self):
Expand All @@ -214,5 +214,5 @@ def test_invalid_object_id_proef11_bsn(self):
details = error.exception.message_dict
self.assertEqual(
details["partij_identificator_object_id"][0],
"ObjectId ongeldig, reden: Onjuist BSN nummer",
"Deze waarde is ongeldig, reden: Onjuist BSN nummer",
)

0 comments on commit 9269b0c

Please sign in to comment.