Activity Forums Salesforce® Discussions How to remove error in test class in Salesforce?

  • How to remove error in test class in Salesforce?

    Posted by Deepak on May 26, 2020 at 3:42 PM

    How to remove constructor not defined error in batch class in test class in Salesforce?

    MOHIT replied 6 years ago 2 Members · 1 Reply
  • 1 Reply
  • MOHIT

    Member
    May 26, 2020 at 4:02 PM

    You need to pass a String to your constructor and execute the batch by passing the batch instance and scope number.

Log In to reply.