You need to sign in to do that
Don't have an account?
eshh31
Could someone help me write a test class for this bit of class
public class QuoteQuickActionController {
@auraEnabled
public static opportunity getopportunity(string oppId){
Opportunity opp=[Select id,accountId,pricebook2Id from opportunity where id =: oppId];
return opp;
}
}
@auraEnabled
public static opportunity getopportunity(string oppId){
Opportunity opp=[Select id,accountId,pricebook2Id from opportunity where id =: oppId];
return opp;
}
}
Best Answer chosen by eshh31
AmitSoni
Hope this will be helpful!!