0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-08 12:08:40 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
G.Ambatte 99d320e6a2 Mock DB ready state for Admin API tests 2025-12-30 10:38:58 +13:00
G.Ambatte 0c33df1cd6 Add tests for lock API functions 2025-04-10 19:15:34 +12:00
Víctor Losada Hernández f076e05f49 js files 2025-03-18 19:46:11 +01:00
Trevor Buckner fb9148ada5 Site runs and all tests pass 2024-11-20 16:21:35 -05:00
Trevor Buckner a9aab5bb0c Add test for error handling deleting notifications 2024-10-09 14:52:56 -04:00
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