You need to sign in to do that
Don't have an account?
Developer
How to cover test code coverage lightning help me
public with Sharing Class test { @AuraEnabled public static List<Id> testmethod(String testmethod1) { List<Id> testmethodIds = new List<Id>(); for(ILine_Item__c iLineItemReg : [SELECT Id, class__c FROM ILine_Item__c WHERE Inspection_Line_Item__c = :testmethod1]) { testmethodIds.add(iLineItemReg.class__c); } return testmethodIds; } }
All Answers