Skip to content

Commit

Permalink
Update Bolt_Test.cls
Browse files Browse the repository at this point in the history
  • Loading branch information
brtheo authored Nov 20, 2024
1 parent f405ecf commit 85662fa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions force-app/main/default/classes/Bolt_Test.cls
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,14 @@ public with sharing class Bolt_Test {
);
Test.stopTest();
}
@istest()
public static void testDynamicSOQLWithoutSharing() {
Test.startTest();
Bolt.soqlQueryWithoutSharing(
'SELECT Id FROM Case WHERE Id in :arg0 LIMIT 1',
'{"arg0":"$ARRAY${}"}',
'WITH USER_MODE'
);
Test.stopTest();
}
}

0 comments on commit 85662fa

Please sign in to comment.