Hey,
In this case, you can do one thing, can you try by changing the where clause during your assertion check. Because there might be some records in the system owned by User you are checking against.
for (VDDocs__c vd : [Select Account_Number__c from VDDocs__c <font color="#FF6600">where Account__c= :AccountID</font>])
system.assertEquals('001234', vd.Account_Number__c);
I hope this will work.
|