Type: Test coverage
Location: api/src/routes/assets.rs
What's missing
Boundary ids should return 404 cleanly rather than trapping or overflowing.
How to add it
Use the existing routes::test_support::state_with helper to build an
AppState from a fixed Snapshot, call the handler directly, and assert on
the serialized body. Follow the patterns already in api/tests/api_responses.rs.
Type: Test coverage
Location:
api/src/routes/assets.rsWhat's missing
Boundary ids should return 404 cleanly rather than trapping or overflowing.
How to add it
Use the existing
routes::test_support::state_withhelper to build anAppStatefrom a fixedSnapshot, call the handler directly, and assert onthe serialized body. Follow the patterns already in
api/tests/api_responses.rs.