From bc06456feac5c799603cce2bcf2e15c79df4596c Mon Sep 17 00:00:00 2001
From: florian <f.spreckelsen@inidscale.com>
Date: Fri, 9 Jul 2021 17:20:53 +0200
Subject: [PATCH] FIX: Add missing datatype in container test

---
 CHANGELOG.md                | 1 +
 unittests/test_container.py | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 38b470db..6255ff1c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Fixed ###
 
 * #53 Documentation of inheritance
+* #38 Dependencies in chunk-deletion of containers
 
 ### Security ###
 
diff --git a/unittests/test_container.py b/unittests/test_container.py
index 2e8dfa2a..0ac4be44 100644
--- a/unittests/test_container.py
+++ b/unittests/test_container.py
@@ -99,7 +99,9 @@ def test_container_dependencies_for_deletion():
     record_referenced.id = 2002
     record_with_dependencies = db.Record().add_parent(not_included_rt)
     record_with_dependencies.id = 2004
-    record_with_dependencies.add_property(not_included_rt, record_referenced)
+    record_with_dependencies.add_property(not_included_rt,
+                                          record_referenced,
+                                          datatype="not_included_rt")
 
     record_with_parent = db.Record().add_parent(rt_record_with_parent)
     record_with_parent.id = 2005
-- 
GitLab