mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 14:02:56 +09:00
The Option REST deliberately makes List tolerate a single failing provider (it logs and skips it, so a partial RBAC config drops one dropdown instead of breaking the whole list) while Get surfaces the error as a 500. Neither path was covered. Add tests that inject a failing provider and assert List keeps the healthy sources and omits the failing one, and that Get returns an InternalError. Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>