Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix unit test not awaiting
Browse files Browse the repository at this point in the history
Broke in #8100
  • Loading branch information
erikjohnston committed Aug 26, 2020
1 parent eba98fb commit ae2db50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rest/client/v1/test_rooms.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ def test_join_local_ratelimit_profile_change(self):

# Create a profile for the user, since it hasn't been done on registration.
store = self.hs.get_datastore()
store.create_profile(UserID.from_string(self.user_id).localpart)
self.get_success(store.create_profile(UserID.from_string(self.user_id).localpart))

# Update the display name for the user.
path = "/_matrix/client/r0/profile/%s/displayname" % self.user_id
Expand Down

0 comments on commit ae2db50

Please sign in to comment.