Trevor Buckner
23e3c98a0d
Add test for adding notification without dismissKey
2024-10-09 14:40:38 -04:00
Víctor Losada Hernández
64dd71601c
last changes
2024-10-06 19:59:58 +02:00
Víctor Losada Hernández
4968300e7a
return correct data
2024-10-06 19:54:41 +02:00
Víctor Losada Hernández
3acb25ce3a
adress comments
2024-10-06 19:43:51 +02:00
Víctor Losada Hernández
5eb1456915
fix tests 2
2024-10-03 09:15:08 +02:00
Víctor Losada Hernández
a82e9758b3
fix test errors
2024-10-03 09:08:24 +02:00
Víctor Losada Hernández
6adac74f76
updated test
2024-10-03 09:01:12 +02:00
Víctor Losada Hernández
9cc4d2d7c5
add last test
2024-10-03 08:53:27 +02:00
Trevor Buckner
84f49aebce
Add test for "add notification"
2024-10-01 21:54:22 -04:00
Trevor Buckner
8949248bc4
Example test
...
Added an example test that queries /admin/notification/all and checks if the response returns a list of notifications.
Since we don't have a real database, we overwrite (mock) NotificationModel to just return some fake data, otherwise the test would crash.
2024-10-01 17:15:36 -04:00