Skip to content

Commit

Permalink
feat: explicitly add wmo to proposal in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoStorm96 committed Jan 8, 2025
1 parent 31ac676 commit 54360ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proposals/tests/proposal_submission_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def setup_proposal(self):
self.wmo.save()
self.proposal = Proposal.objects.get(pk=1)
self.proposal.applicants.add(self.user)
self.proposal.save()
self.proposal.wmo = self.wmo
self.proposal.save()
self.pre_assessment = Proposal.objects.get(pk=2)
self.pre_assessment.applicants.add(self.user)
self.pre_assessment.save()
Expand Down

0 comments on commit 54360ab

Please sign in to comment.