forked from DGNum/gestioCOF
Fix ill-formed url in tests
This commit is contained in:
parent
c80e63415b
commit
5086128f16
1 changed files with 2 additions and 1 deletions
|
@ -160,7 +160,8 @@ class TestBdAViews(BdATestHelpers, TestCase):
|
|||
def test_send_reminders(self):
|
||||
self.require_custommails()
|
||||
# Just get the page
|
||||
url = "/bda/mails-rappel/{}".format(self.tirage.id)
|
||||
show = self.tirage.spectacle_set.first()
|
||||
url = "/bda/mails-rappel/{}".format(show.id)
|
||||
self.check_restricted_access(url, validate_user=user_is_staff)
|
||||
# Actually send the reminder emails
|
||||
_, staff_c = self.client_matrix[0]
|
||||
|
|
Loading…
Reference in a new issue