Skip to content

Commit

Permalink
Fixes dots in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriz-uniba committed Jun 8, 2022
1 parent acfcb78 commit 50a1e59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/members/test_members_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_invite(client, headers, community_id, owner, new_user_data, db):
assert r.status_code == 200
assert r.json["hits"]["total"] == 2 # role message + invite message
assert (
r.json["hits"]["hits"][0]["payload"]["content"] == 'You will join as "Reader"'
r.json["hits"]["hits"][0]["payload"]["content"] == 'You will join as "Reader".'
)
assert r.json["hits"]["hits"][1]["payload"]["content"] == new_user_data["message"]

Expand Down
2 changes: 1 addition & 1 deletion tests/members/test_members_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def test_invite_view_request(
).to_dict()
hits = res["hits"]
assert hits["total"] == 2 # role + invitation
assert hits["hits"][0]["payload"]["content"] == 'You will join as "Reader"'
assert hits["hits"][0]["payload"]["content"] == 'You will join as "Reader".'
assert hits["hits"][1]["payload"]["content"] == "Welcome to the club!"


Expand Down

0 comments on commit 50a1e59

Please sign in to comment.