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
Rahul Jain 238Rahul Jain 238 

Not able to cover these following lines of this method

User-added imageUser-added image
Rahul Jain 238Rahul Jain 238
Thanks! Suraj
Suraj Tripathi 47Suraj Tripathi 47
Hi Rahul,

After observe your test class code coverage I found that the size of your ApproveIds is null that's why it is not covering 
inside loop lines so pass proper id in ApproveIds list from your test class or  share your test class code so that I can improve it.

If you find your Solution then mark this as the best answer.

Thank you!
Regards,
Suraj Tripathi  
Ajay Patel 54Ajay Patel 54

Hii Rahul ,
       Can you please debug TaskList so that we have check the list and size of the list .

If you find your Solution then mark this as the best answer.

Regards,
Ajay Patel