3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-08-22 05:08:05 +00:00

8 Commits

Author SHA1 Message Date
3e00096255 One more attempt at tests
This was failing on GH but not locally

- Locally + SQLite + LazilyRefreshDatabase: Asset::factory()->create() typically gets id=1 (SQLite handles auto-increment inside the rollback-per-test transaction differently). My assoc array [$target->id => '1'] happens to have value '1' which matches the id. Loop runs. Test passes.

- MySQL CI full-suite: AUTO_INCREMENT doesn't reset on transaction rollback. After ~2900 tests, my Asset lands at id=2953 (or similar high number). WHERE id IN ('1') matches nothing. Loop skips my asset. Notes never gets updated. Test fails.
2026-07-22 13:58:06 +01:00
a05bbcc2a7 Derp, wrong key for debugging test 2026-07-22 13:42:35 +01:00
c091174ff5 Made codacy happy - split tests out 2026-07-22 13:41:00 +01:00
4aaea28a37 Added debugging for CI, since tests pass locally 2026-07-22 13:27:11 +01:00
37238625e5 Updated user request for PATCH 2026-07-22 12:06:36 +01:00
b9672dc238 Accoutn for deliberate null company pseudo company 2026-07-22 11:45:31 +01:00
b8018c5b5e FMCS+Floater: Fixed #19192 - make company required 2026-07-22 11:17:55 +01:00
3611fc9df5 More FMCS scoping tests 2026-07-07 10:01:42 +01:00