function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cnovocnovo 

Need help with test class for trigger

I have a trigger I created based on code the developer on out team wrote prior to leaving the company. It seems pretty simple, but I don't know how to write a test class for the trigger so I'm unable to deploy it. Any help would be greatlyappreciated.

 

trigger SupportCaseAfter on Support_Case__c (after insert, after update) {
ChatterAutoFollow.subscribeAutoFollowers(trigger.newMap, trigger.oldMap);
}

digamber.prasaddigamber.prasad

Hi,

 

Your trigger suggest that the business logic is written in "ChatterAutoFollow" class. Please share this class too, so that I can help you.

cnovocnovo
I was actually able to figure it out. Thanks for your help though.