Activity Forums Salesforce® Discussions System.assertEqueals are giving wrong expectation from testing class

  • System.assertEqueals are giving wrong expectation from testing class

    Posted by Chulhee Kim on February 23, 2021 at 6:35 PM

    I have a few of System.assertEquals in my testing class to test my new function that basically returns true or false. For some reason, some of asserEquals returns wrong expectation from testing class. if I copy those asserEquals and run them from Anonymous windows, they return correct expectations. Any idea why the testing class behaves that way?

    Chulhee Kim replied 5 years ago 1 Member · 0 Replies
  • 0 Replies

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Popular Salesforce Infographics