mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-20 19:48:52 -05:00
test: drop assertOrganizationAIConfigured capability assertion
Per review feedback — exclude the test-side regression assertion for the capability argument. Production-code change in the previous commit (ENG-1001) is the actual fix. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -206,9 +206,5 @@ describe("chart Cube actions", () => {
|
||||
userId: "user-1",
|
||||
source: "charts.generateAIChartAction",
|
||||
});
|
||||
// AI chart generation should gate on "smartTools" — it only sends schema context
|
||||
// and the prompt to the LLM, no response PII. Using "dataAnalysis" would require
|
||||
// users to opt into the PII-consent toggle for a non-PII feature.
|
||||
expect(mocks.assertOrganizationAIConfigured).toHaveBeenCalledWith("organization-1", "smartTools");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user