Files
kevinveenbirkenbachandClaude Opus 5 31fa1e5540 docs(zammad): state why the ruby apply scripts have no unit mirror
The lint wants either a mirrored unit test per role script or a
nocheck: mirrored-unit-test directive with a reason.

ai_provider.rb runs in the Zammad console and writes through Setting, whose
validator pings the gateway on save, so the round trip against the live
provider is the entire contract; a mocked transport would assert the mock.
mcp_bot.rb works against User, Role and Token and depends on the
before_create hook the live models supply, none of which is callable outside
the Zammad image.

There is no tests/unit/ruby tree for such a mirror to live in.

The first reason is confirmed by this session: writing the AI provider
setting is itself the reachability proof, because Setting.set pings.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-28 13:13:39 +02:00
..