From c272f343ded002a80675406c47242dfa4227e81a Mon Sep 17 00:00:00 2001 From: joerivrij Date: Mon, 4 Dec 2023 14:20:53 +0100 Subject: [PATCH] adds new data to tests --- src/drc/api/tests/test_enkelvoudiginformatieobject.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/drc/api/tests/test_enkelvoudiginformatieobject.py b/src/drc/api/tests/test_enkelvoudiginformatieobject.py index c6cecf2c..1ad2551f 100644 --- a/src/drc/api/tests/test_enkelvoudiginformatieobject.py +++ b/src/drc/api/tests/test_enkelvoudiginformatieobject.py @@ -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 @@ -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()))