Skip to content

Commit 5c6f1dd

Browse files
authored
Merge pull request #4 from trailheadapps/mo/develop
fix: failing CI tests
2 parents d5e1ffc + ea4378b commit 5c6f1dd

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

force-app/main/02_actionConfiguration/actionDescriptionOverrides/classes/ActionDescriptionOverridesFlowTest.cls

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,15 @@ private class ActionDescriptionOverridesFlowTest {
4646
Assert.areNotEqual(null, results, 'Results should be returned');
4747
Assert.areEqual(1, results.size(), 'Should return at least one result');
4848
}
49-
/*
49+
5050
@IsTest
5151
static void testGenerateReport() {
5252
// Set input variables for the flow
5353
Map<String, Object> inputs = new Map<String, Object>();
5454
inputs.put('report_type', 'Sales Report');
55-
inputs.put(
56-
'parameters',
57-
'{"startDate":"2024-01-01","endDate":"2024-12-31"}'
58-
);
55+
inputs.put('start_date', Date.newInstance(2024, 1, 1));
56+
inputs.put('end_date', Date.newInstance(2024, 12, 31));
57+
inputs.put('include_charts', true);
5958

6059
// Run the flow
6160
Test.startTest();
@@ -75,5 +74,4 @@ private class ActionDescriptionOverridesFlowTest {
7574
'Report URL should be a valid URL'
7675
);
7776
}
78-
*/
7977
}

0 commit comments

Comments
 (0)