File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
services/web/server/tests/unit Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ def test_get_notification_key(user_id: UserID):
8080 "text" : "You're now member of a new Organization" ,
8181 "date" : "2023-02-23T16:23:13.122Z" ,
8282 "product" : "s4l" ,
83+ "resource_id" : "other_id" ,
84+ "user_from_id" : "2" ,
8385 }
8486 ),
8587 id = "category_from_string" ,
@@ -95,6 +97,8 @@ def test_get_notification_key(user_id: UserID):
9597 "text" : "You're now member of a new Organization" ,
9698 "date" : "2023-02-23T16:23:13.122Z" ,
9799 "product" : "tis" ,
100+ "resource_id" : "other_id" ,
101+ "user_from_id" : "2" ,
98102 }
99103 ),
100104 id = "category_from_lower_case_string" ,
Original file line number Diff line number Diff line change @@ -196,6 +196,8 @@ async def test_list_user_notifications(
196196 "date" : "2023-02-23T16:23:13.122Z" ,
197197 "product" : "osparc" ,
198198 "read" : True ,
199+ "resource_id" : "3fb96d89-ff5d-4d27-b5aa-d20d46e20e12" ,
200+ "user_from_id" : "2" ,
199201 },
200202 id = "with_extra_params_that_will_get_overwritten" ,
201203 ),
@@ -265,6 +267,8 @@ async def test_create_user_notification_capped_list_length(
265267 "text" : "You're now member of a new Organization" ,
266268 "date" : "2023-02-23T16:23:13.122Z" ,
267269 "product" : "osparc" ,
270+ "resource_id" : "3fb96d89-ff5d-4d27-b5aa-d20d46e20e12" ,
271+ "user_from_id" : "2" ,
268272 },
269273 )
270274 for _ in range (notification_count )
You can’t perform that action at this time.
0 commit comments