notifications: use an explicit FK mark when creating notifications, previous way was prone to cache problems.
This commit is contained in:
parent
1bd980d752
commit
c4e1783d4f
2 changed files with 4 additions and 1 deletions
|
|
@ -155,6 +155,7 @@ class TestNotificationsController(TestController):
|
|||
notification = NotificationModel().create(
|
||||
created_by=cur_user, notification_subject=subject,
|
||||
notification_body=notif_body, recipients=[cur_user, u1, u2])
|
||||
Session().commit()
|
||||
|
||||
response = self.app.get(
|
||||
route_path('notifications_show',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue