0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
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