Files
OmniRoute/tests
diegosouzapw 7918593857 fix(tests): align model-sync log assertion to shipped path redaction (base-red)
tests/unit/model-sync-route.test.ts expected the persisted call-log error to be
'Invalid JSON response from /models', but the call-log write now runs the error
through sanitizeErrorForLog -> errorPathRedaction, which redacts the path to
<path> for stored logs (defense in depth for exported call logs). The live API
response to the caller is unchanged (body.error still /models); only the
persisted logs[0].error is redacted. Align the log assertion to the shipped
behavior; body.error assertion stays /models.

No production change — test alignment to an already-merged redaction. Refs base-red #12732.
2026-09-10 11:47:45 -03:00
..