From e534ddebc6761f8783036b5406f7a400307f7a8a Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Tue, 3 Dec 2024 13:59:09 +0100 Subject: [PATCH] Update Stakeholder unit tests --- backend/ebios_rm/tests/test_stakeholder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/ebios_rm/tests/test_stakeholder.py b/backend/ebios_rm/tests/test_stakeholder.py index fee5bf018..cc034af2d 100644 --- a/backend/ebios_rm/tests/test_stakeholder.py +++ b/backend/ebios_rm/tests/test_stakeholder.py @@ -17,8 +17,8 @@ def test_create_stakeholder_basic(self): stakeholder = Stakeholder.objects.create( entity=entity, category=Stakeholder.Category.SUPPLIER, + ebios_rm_study=study, ) - stakeholder.ebios_rm_studies.add(study) assert stakeholder in study.stakeholders.all() assert stakeholder.entity == entity