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
Vishal SawVishal Saw 

@isTest private class OptyPreApprovalDeclinedTest { @testSetup Static void DataTestup(){ Account acc = new Account(Name = 'Test Accounts',Email__c = 'TestAccount@TestAccount.com'); insert acc; User test

This the test class is only covering upto 29%
SubratSubrat (Salesforce Developers) 
Hello Vishal ,

Can you share the apex class too .

Thank you.