summaryrefslogtreecommitdiff
path: root/archaeological_operations/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r--archaeological_operations/tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py
index 2c06f5a35..17d112559 100644
--- a/archaeological_operations/tests.py
+++ b/archaeological_operations/tests.py
@@ -750,7 +750,11 @@ class SerializationTest(GenericSerializationTest, TestCase):
self.username, self.password, self.user = create_superuser()
operation = create_operation(self.user,
values={"code_patriarche": "66666"})
- create_operation(self.user, values={"code_patriarche": "66667"})
+ ope2 = create_operation(self.user, values={"code_patriarche": "66667"})
+ models.RecordRelations.objects.create(
+ left_record=operation, right_record=ope2,
+ relation_type=models.RelationType.objects.all()[0]
+ )
site = models.ArchaeologicalSite.objects.create(
reference="ref-site"
)