Activity Forums Salesforce® Discussions Testing assignment rule when inserting test cases

  • Himanshu

    Member
    April 30, 2016 at 4:06 pm

    Hi Ravi,

    try adding the seeAllData annotation to your test method

    @isTest(seeAllData=true)
    static void test_mockIfAtAllPossible(){
    }

    Hope this helps you.

  • Ajit

    Member
    April 30, 2016 at 4:06 pm

    Try Using (seeAllData=true) it will help you.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos