test(api): harden assistant tool error handling

This commit is contained in:
2026-03-30 11:51:59 +02:00
parent 4ce8577824
commit 7aa32f8a5c
8 changed files with 7898 additions and 381 deletions
@@ -122,7 +122,7 @@ describe("assistant audit tools", () => {
expect(JSON.parse(result.content)).toEqual(
expect.objectContaining({
error: expect.stringContaining("Controller access required"),
error: "You do not have permission to perform this action.",
}),
);
});