Skip to content

Commit

Permalink
fixed invitee editing
Browse files Browse the repository at this point in the history
  • Loading branch information
nad2000 committed Oct 9, 2019
1 parent d60ee55 commit e9bda94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_batch.py
Expand Up @@ -301,7 +301,7 @@ def test_message_records(client, mocker):
# email="researcher@test0.edu",
first_name=i.first_name or "FN",
last_name=i.first_name or "LN",
visibility=(i.visibility or "LIMITED").upper()))
visibility=(i.visibility or "limited").lower()))
invitee = Invitee.get(i.id)
assert invitee.identifier == f"ID-{i.id}"

Expand All @@ -310,7 +310,7 @@ def test_message_records(client, mocker):
data=dict(email="a-new-one@org1234.edu",
first_name="FN",
last_name="LN",
visibility="LIMITED"))
visibility="limited"))
assert r.invitees.count() == invitee_count + 1

# Export and re-import
Expand Down

0 comments on commit e9bda94

Please sign in to comment.