Skip to content

Commit

Permalink
adds new data to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joerivrij committed Dec 4, 2023
1 parent ce7cd95 commit c272f34
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/drc/api/tests/test_enkelvoudiginformatieobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ def test_create(self, *mocks):
"informatieobjecttype": INFORMATIEOBJECTTYPE,
"vertrouwelijkheidaanduiding": "openbaar",
"verschijningsvorm": "Vorm A",
"archiefstatus": "nog_te_archiveren",
"bevatPersoonsgegevens": "onbekend",
"ontvangen": None,
"vervallen": None,
}

# Send to the API
Expand Down Expand Up @@ -175,6 +179,10 @@ def test_read(self):
"locked": False,
"bestandsdelen": [],
"trefwoorden": None,
"archiefstatus": "nog_te_archiveren",
"bevatPersoonsgegevens": "onbekend",
"ontvangen": None,
"vervallen": None,
}
response_data = response.json()
self.assertEqual(sorted(response_data.keys()), sorted(expected.keys()))
Expand Down

0 comments on commit c272f34

Please sign in to comment.