Skip to content

Commit 6ecccef

Browse files
FedericoCerattoFederico Ceratto
authored and
Federico Ceratto
committed
Fix tests
1 parent 72c8d3c commit 6ecccef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/tests/integ/test_incidents.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def test_crud_general(cleanup, client, adminsession, usersession):
140140
expected["start_time"] = "2020-01-02T00:00:00Z"
141141
expected["published"] = True
142142
expected["mine"] = 0
143+
expected["email_address"] = None # anon cannot see the email
143144
assert i == expected
144145

145146
# Delete as admin
@@ -201,7 +202,7 @@ def test_crud_user_create(cleanup, client, adminsession, usersession):
201202
],
202203
"published": False,
203204
"reported_by": "ooni",
204-
"email_address": "[email protected]",
205+
"email_address": None,
205206
"start_time": "2020-01-01T00:00:00Z",
206207
"tags": ["integ-test"],
207208
"title": title,

0 commit comments

Comments
 (0)