Skip to content

Commit

Permalink
Update Stakeholder unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Dec 3, 2024
1 parent 6ec512f commit e534dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/ebios_rm/tests/test_stakeholder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e534dde

Please sign in to comment.