Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoCeratto authored and Federico Ceratto committed Oct 16, 2023
1 parent 72c8d3c commit 6ecccef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/tests/integ/test_incidents.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def test_crud_general(cleanup, client, adminsession, usersession):
expected["start_time"] = "2020-01-02T00:00:00Z"
expected["published"] = True
expected["mine"] = 0
expected["email_address"] = None # anon cannot see the email
assert i == expected

# Delete as admin
Expand Down Expand Up @@ -201,7 +202,7 @@ def test_crud_user_create(cleanup, client, adminsession, usersession):
],
"published": False,
"reported_by": "ooni",
"email_address": "[email protected]",
"email_address": None,
"start_time": "2020-01-01T00:00:00Z",
"tags": ["integ-test"],
"title": title,
Expand Down

0 comments on commit 6ecccef

Please sign in to comment.