3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-08-18 11:15:42 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
a88742428d Updated test 2026-07-14 12:13:30 +01:00
277960dade One more fix for #19303 - division by zero in asset models 2026-07-14 11:58:30 +01:00
81520804e0 Guardrails for #19303 - added safer state when edge cases happen 2026-07-14 11:32:26 +01:00
5248d4da79 Fixed tests for GH
This is dumb, but…. the test's detector uses SQLite-style "assets" (double-quoted identifiers), but the failing CI run is on the MySQL workflow where identifiers are backtick-quoted (`assets`). The detector never matches on MySQL -> 0 queries counted -> assertion fails. This makes the detector quote-agnostic.
2026-06-30 15:36:17 +01:00
f7d26e69d1 Fixed N+1 on models endpoint 2026-06-30 15:25:22 +01:00
969eeae4e2 Categories: performance improvements 2026-06-30 14:52:55 +01:00
bf8082f0b9 Formatted tests via pint 2026-03-23 10:48:53 +00:00
04bebca323 Added unit tests 2026-03-23 10:47:16 +00:00
446f5f3cef Run pint on tests 2026-03-16 17:40:57 -07:00
8003615b1f Move InteractsWithSettings to TestCase 2024-03-14 14:15:11 -07:00
d6c61e1429 Removed attribute assigning blank EOL as 0
Signed-off-by: snipe <snipe@snipe.net>
2024-01-25 21:34:20 +00:00
cba5f869c0 standardize some of the validation rules, fix int/string issue 2023-11-28 21:19:19 -06:00
da08f6ef8c Add InteractsWithSettings trait to required tests 2023-05-01 16:05:26 -07:00
dd9c00195b Remove old $tester variable and usused imports 2023-03-07 17:04:46 -08:00
43ff7261b2 Remove redundant base test case 2023-03-07 16:57:55 -08:00
35ba28bff9 Continuing to refactor tests
Signed-off-by: snipe <snipe@snipe.net>
2021-12-02 16:14:45 -08:00
c949a1f5f2 renamed Tests to tests 2021-12-02 15:08:26 -08:00