Skip to content

Commit

Permalink
test fixup after logic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiebelle committed Dec 18, 2023
1 parent 7911d04 commit c652a9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sponsors/tests/test_pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def setUp(self):
"sponsorship": self.contract.sponsorship,
"benefits": [],
"legal_clauses": [],
"renewal": False,
"renewal": None,
}
self.template = "sponsors/admin/preview-contract.html"

Expand Down
2 changes: 1 addition & 1 deletion sponsors/tests/test_use_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def test_update_sponsorship_as_approved_and_create_contract(self):
self.assertEqual(self.sponsorship.sponsorship_fee, 100)
self.assertEqual(self.sponsorship.package, self.package)
self.assertEqual(self.sponsorship.level_name, self.package.name)
self.assertEqual(self.sponsorship.renewal, False)
self.assertFalse(self.sponsorship.renewal)


def test_update_renewal_sponsorship_as_approved_and_create_contract(self):
Expand Down

0 comments on commit c652a9f

Please sign in to comment.