Commit graph

7 commits

Author SHA1 Message Date
Karina Kwiatek
81b279f1b6 Floor times in tests
This passed locally for me on macOS but does not pass on Linux due to a difference in precision for timestamps.
2023-05-07 21:04:33 +02:00
Karina Kwiatek
2aaba3e2d9 Touch notifications_updated_at after marking entries as read 2023-05-07 20:54:54 +02:00
Karina Kwiatek
a3dbad5265 Fix lint errors in NotificationController#index tests 2023-05-05 15:59:45 +02:00
Karina Kwiatek
b5a72be288 Add test for marking all notifications as read 2023-05-05 15:59:45 +02:00
Karina Kwiatek
0db44949e6 Move NotificationsController#index test into their own describe block 2023-05-05 15:59:45 +02:00
Georg Gadinger
58705fffba mark notifications as "read" in the controller and when you see them
this makes it behave a bit more like the inbox
2023-01-24 15:54:41 +01:00
Karina Kwiatek
251dff6cda Add test for NotificationsController 2022-07-05 23:23:37 +02:00