3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-04-03 06:20:22 +00:00

133 Commits

Author SHA1 Message Date
420bf9162d Populate test cases 2026-03-23 15:54:45 -07:00
8b1ec3d54b Improve test names 2026-03-23 15:39:56 -07:00
ea3d970743 Add a couple sanity tests 2026-03-23 15:39:43 -07:00
3517e040c4 Organization 2026-03-23 14:22:17 -07:00
cf1fb87b63 Improve assertions 2026-03-23 14:16:59 -07:00
b2389fb67c Scaffold test cases 2026-03-23 14:16:55 -07:00
f9f57fb161 Merge branch 'develop' into fixes/18495-bulk-audit-date
# Conflicts:
#	tests/Feature/Assets/Api/AuditAssetTest.php
#	tests/Feature/Assets/Ui/AuditAssetTest.php
#	tests/Feature/Assets/Ui/CloneAssetTest.php
#	tests/Support/Settings.php
2026-03-23 11:49:34 -07:00
a9f7d42d77 Formatting 2026-03-23 10:51:54 -07:00
537861c232 Add auditing group tag to tests 2026-03-23 10:50:12 -07:00
1894f55474 Commented out a weird test 2026-03-20 18:19:52 +00:00
446f5f3cef Run pint on tests 2026-03-16 17:40:57 -07:00
d84eb43278 Snake case FMCS and permission methods in tests 2026-03-16 17:36:35 -07:00
5aad15256c Improve tests around assets 2026-03-12 16:15:27 -07:00
92bb1df82e Removed error log in test 2026-03-07 11:05:33 +00:00
261231c09e Fix method and variable names 2026-03-05 15:55:59 -08:00
a026ca92ff Populate tests 2026-03-03 14:46:10 -08:00
1b7fe4f728 Scaffold test cases 2026-03-03 11:07:28 -08:00
2bf2d55c6e Fix test case 2026-03-03 11:07:18 -08:00
20eab1f403 Fixed updated route names 2025-12-07 14:37:22 +00:00
aa959fbe92 Added filter form request to validate JSON 2025-11-22 14:03:58 +00:00
a1e6f01fe9 Fixed updating notes in bulk edit 2025-10-16 14:33:21 +01:00
ee499c1385 Fix base64-encoded image files for asset creation; add test 2025-10-07 16:00:16 +01:00
ef0a6aa25e Add failing condition 2025-10-02 13:53:19 -07:00
8a667b20c2 Merge branch 'develop' into fixes/17956-handle-force-deleted-model-in-asset-edit 2025-10-01 11:09:40 +01:00
636fccbf97 Add failing test 2025-09-30 12:18:51 -07:00
272385db6c Add failing test 2025-09-30 11:27:38 -07:00
73e0628124 Populate test 2025-09-15 15:26:30 -07:00
7393c4170b Apply first pass and scaffold additional test 2025-09-15 15:22:35 -07:00
73e185bf9d Scaffold route and tests 2025-09-15 15:12:05 -07:00
6504ee37bd Remove dump 2025-09-09 13:09:52 -07:00
ab7bd86336 Improve assertions 2025-09-09 13:01:59 -07:00
eada0b0bb5 Implement test 2025-09-09 11:58:43 -07:00
f221f9f22a Implement test 2025-09-09 11:50:41 -07:00
a7c5899c16 Implement test 2025-09-09 11:33:54 -07:00
80b02635a9 Add test stub 2025-09-09 10:10:53 -07:00
324070f345 Begin to build out test 2025-09-08 17:20:22 -07:00
e1aa843b6d Scaffold test 2025-09-08 17:05:14 -07:00
739980aa09 Merge pull request #16947 from Godmartinz/add-require-serial-to-models
Adds require serial as Asset Model option
2025-09-03 14:53:15 +01:00
b702e3e2de Merge pull request #17492 from ischooluw/17448-feature-notes-api-endpoints
Fixes #17448: feat(api) - API endpoint for Adding Ad-Hoc Notes to Assets
2025-08-26 12:40:52 +01:00
d91598a25e Merge pull request #17540 from marcusmoore/fixes/asset-serial-validation
Fixed 500 when sending non-string for serial property
2025-08-07 20:53:07 +01:00
860a117567 Remove dump in test 2025-08-07 12:50:02 -07:00
b8fe3b18d4 Add "string" to serial rules for asset 2025-08-07 12:27:48 -07:00
8516856d37 Merge pull request #17456 from spencerrlongg/9511-validation-always-fails-on-encrypted-custom-fields
Fixed #9511 - Validation For Encrypted Custom Fields
2025-08-05 17:45:38 +01:00
c94a8c42f4 Changed NotesController::getList() to NotesController::index() & reordered methods for consistency 2025-07-28 16:57:46 -07:00
16fdb16a56 Changed over to route model binding and simplified logic & gates 2025-07-28 16:55:11 -07:00
b264bbf69f feat(api): Add API endpoints for managing asset history notes
- Add POST endpoint to create a history note attached to an asset
- Add GET endpoint to retrieve history notes for an asset
- Add ActionLog factory state for manual notes
- Implement controller methods with authorization checks
- Add feature tests for note creation, retrieval, and access control
- Register new API routes for these endpoints

Supports automation by enabling programmatic asset history note management.
2025-07-28 15:55:37 -07:00
8a40d7e35c tests added, regex validation working 2025-07-23 16:12:19 -05:00
0cc47aacbe Got tests to pass by making them match our current reality, rather than wishes 2025-07-18 16:14:32 +01:00
7c5110ed5d Add more action logs tests everywhere I can think of it. 2025-07-16 16:20:06 +01:00
0a474f48ad WIP: Adding various tests of the contents of ActionLogs for lots of events 2025-07-16 16:20:06 +01:00