Skip to content

Commit

Permalink
Remove unncessary token creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ince-dbt committed May 22, 2024
1 parent a52108d commit a5e4b58
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions datahub/export_win/test/test_win_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1785,9 +1785,6 @@ def test_update_win_with_html_and_script_tags(self):
date_won = now().date()
export = ExportFactory()
export_experience = ExportExperienceFactory()
first_sent = datetime.datetime(year=2012, month=7, day=12, hour=15, minute=6, second=3)
with freeze_time(first_sent):
CustomerResponseTokenFactory(customer_response=win.customer_response)

malicious_script = '<script>alert("XSS");</script>'
request_data = {
Expand Down

0 comments on commit a5e4b58

Please sign in to comment.