Skip to content

Commit ffcd1b9

Browse files
committed
✅ [#504] Update tests
1 parent a3d5b63 commit ffcd1b9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

backend/src/openarchiefbeheer/destruction/tests/test_models.py

+4
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ def test_zaak_data_present_after_deletion(self):
132132
self.assertEqual(
133133
item.extra_zaak_data["zaaktype"],
134134
{
135+
"uuid": "111-111-111",
135136
"url": "http://catalogue-api.nl/zaaktypen/111-111-111",
136137
"identificatie": "ZAAKTYPE-01",
137138
"omschrijving": "Aangifte behandelen",
@@ -329,6 +330,7 @@ def test_generate_destruction_report(self):
329330
},
330331
},
331332
"zaaktype": {
333+
"uuid": "111-111-111",
332334
"url": "http://catalogi.nl/api/v1/zaaktypen/111-111-111",
333335
"omschrijving": "Tralala zaaktype",
334336
"selectielijst_procestype": {
@@ -356,6 +358,7 @@ def test_generate_destruction_report(self):
356358
},
357359
},
358360
"zaaktype": {
361+
"uuid": "111-111-111",
359362
"url": "http://catalogi.nl/api/v1/zaaktypen/111-111-111",
360363
"omschrijving": "Tralala zaaktype",
361364
"selectielijst_procestype": {
@@ -376,6 +379,7 @@ def test_generate_destruction_report(self):
376379
"einddatum": "2022-01-03",
377380
"resultaat": None,
378381
"zaaktype": {
382+
"uuid": "111-111-222",
379383
"url": "http://catalogi.nl/api/v1/zaaktypen/111-111-222",
380384
"omschrijving": "Tralala zaaktype",
381385
"selectielijst_procestype": {

backend/src/openarchiefbeheer/destruction/tests/test_tasks.py

+1
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ def test_complete_and_notify(self):
607607
},
608608
},
609609
"zaaktype": {
610+
"uuid": "111-111-111",
610611
"url": "http://catalogi.nl/api/v1/zaaktypen/111-111-111",
611612
"omschrijving": "Tralala zaaktype",
612613
"selectielijst_procestype": {

0 commit comments

Comments
 (0)