notifications_data: Rename id -> user_id.

We also make this a mandatory named argument for our test helper
for clarity.
This commit is contained in:
Abhijeet Prasad Bodas
2021-06-23 14:14:34 +05:30
parent f6e705d477
commit dedc39f139
6 changed files with 45 additions and 28 deletions

View File

@@ -23,8 +23,8 @@ class MissedMessageTest(ZulipTestCase):
hamlet = self.example_user("hamlet")
othello = self.example_user("othello")
user_data_objects = [
self.create_user_notifications_data_object(id=hamlet.id),
self.create_user_notifications_data_object(id=othello.id),
self.create_user_notifications_data_object(user_id=hamlet.id),
self.create_user_notifications_data_object(user_id=othello.id),
]
message_type = "private"