You need to sign in to do that
Don't have an account?
shan876
System.ListException: Missing id at index: 0 for delete testing????
Does anyone know what does this define:
System.ListException: Missing id at index: 0
I am trying to delete in my testmethod the item i created during my testmethod and it does not work...
anyone have an example of using delete in there test methods or what
that message defines.
Thanks
System.ListException: Missing id at index: 0
I am trying to delete in my testmethod the item i created during my testmethod and it does not work...
anyone have an example of using delete in there test methods or what
that message defines.
Thanks
if you put the code section up that you're having problems with we will be more that willing to point you in the right direction.
For anyone else who may be having problems with this, make sure the record you are trying to delete has actually been instaciated - i.e. item = new item__c();