Skip to content

Commit

Permalink
fixup! Set the token in the model instance so it's never None
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley committed Jul 19, 2023
1 parent b5bf5ce commit 1ca3fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wcivf/apps/feedback/tests/test_views.py
Expand Up @@ -9,7 +9,7 @@ class FeedbackFormViewTests(TestCase, FeedbackFormView):
def setUp(self):
self.existing_feedback = Feedback()
self.existing_feedback.save()

def test_token_set_by_default(self):
request = self.client.get(reverse("feedback_form_view"))
new_token = request.context_data["object"].token
Expand Down

0 comments on commit 1ca3fa7

Please sign in to comment.