ers_DatatableControllerTest fails in org Assertion Failed: Expected: standard:contact, Actual: null
Test class ers_DatatableControllerTest fails with error "System.AssertException: Assertion Failed: Expected: standard:contact, Actual: null" in my org.
Class.ers_DatatableControllerTest.testGetIconName: line 92, column 1
Is this an org with Person Accounts enabled? Feel free to just comment out that line in your org.
Hello, after update package I have again the same issue.
Class.ers_DatatableControllerTest.testGetIconName: line 92, column 1
System.AssertException: Assertion Failed: Expected: standard:contact, Actual: null
PersonAccount is not available in my org. I can comment again this line, but exist other workaround ?
When I launch same code et ers_DatatableController.getIconName with 'Contact' in sObjectName variable, I have null result
09:33:23.0 (1215389)|USER_DEBUG|[2]|INFO|Getting Icon for: Contact
09:33:23.0 (78191794)|USER_DEBUG|[29]|INFO|iconName: null
In your case I would just comment out that line in the test class
In your case I would just comment out that line in the test class
No other fix can exist or in next update ? PersonAccount is not available and each update add this issue again.