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
Surender reddy SalukutiSurender reddy Salukuti 

Pd1 Maintance

Hi Everyone,

When i am writting Pd1 maintance exam i got error 

When executed, the BatchLeadConvertTest test class has test failures. All tests should pass.

Thank you
Foram Rana RForam Rana R
Hi Surender,

Please got to setup  -->  Apex Class  --> Then Click on Run All Test button.
I am also suffering from this issue.
Make sure your BatchLeadConvertTest Code coverage is greater than 75%.
Let me know your review.

Hope this helps you.
If this helps kindly mark it as solved so that it may help others in the future.

Thanks & Regards,
Foram Rana
Hi Surender,

You should check which test case is failing in BatchLeadConvertTest test class and look according to it or share it here so we can help you.

I also faced the same issue. I was getting error in test function 'customObjectCreatedFromEventTrigger' as I was inserting records list by checking for empty list and missed the '!' mark so the condition will be true when list will be empty and causing the error.

Hope this information helps you.

chathura ranasinghe 10chathura ranasinghe 10
Hi Surender

Setup -> Apex Classes -> Run All Test

Refer the below Link :