Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions code-analyzer.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
engines:
rules:
flow:
disable_engine: true
# Disabled HardCodedId rule for flow as a temporary workaround for
# https://github.com/forcedotcom/code-analyzer/issues/1947
HardCodedId:
severity: Critical
tags: []

engines:
eslint:
auto_discover_eslint_config: true
disable_javascript_base_config: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ private class ActionDescriptionOverridesFlowTest {
// Set input variables for the flow
Map<String, Object> inputs = new Map<String, Object>();
inputs.put('report_type', 'Sales Report');
inputs.put('start_date', Date.newInstance(2024, 1, 1));
inputs.put('end_date', Date.newInstance(2024, 12, 31));
inputs.put('include_charts', true);
inputs.put('user_id', UserInfo.getUserId());
inputs.put('format', 'PDF');
inputs.put('start_date', '2024-01-01');
inputs.put('end_date', '2024-12-31');

// Run the flow
Test.startTest();
Expand Down
Loading