Skip to main content

Please help! We have Salesforce Shield. The Transaction Security feature automatically creates two Apex Classes that are used for Transaction Security Policies. They are:

  1. ConcurrentSessionsPolicyCondition
  2. DataLoaderLeadExportCondition

These are two of the three Apex Classes I have in a new org. I am trying to deploy the test class of the third Apex Class, which is a controller I wrote, but forget to deploy the Test Class with it.

Those two Apex Classes created by Salesforce Shield do not have Test Classes created with them. Why is this? It results in a very low code coverage and I cannot deploy to our Production org as a result.
6 respostas
  1. 22 de out. de 2016, 00:23
    An internal Salesforce Bug already exists for this, but it is very low priority and unlikely to get fixed.  Surprisingly, there are no Cases  where any other user has complained about this issue.  Perhaps most orgs that use Salesforce Shield have a lot of Apex classes such that the addition of these two classes don't affect code coverage significantly?
0/9000