Activity Forums Salesforce® Discussions Is it possible to insert Custom setting object in Salesforce testing?

  • Marziya

    Member
    July 15, 2020 at 1:30 pm

    Custom settings are nothing but an object . All you need in Test Class is instantiate the custom settings object and create the records of the custom settings and insert it in Test class itself. Make sure you bulkify your insert call.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos