function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Help required with a test class Save Function

Hi Guys,

I dont exactly understand what i need to write for a test class for this
public PageReference save1(){
		List<RAM_Quote__c> UpdatedQO = new list<RAM_Quote__c>();
			for(RAM_Quote__c Id : QuoteOffers){
            	Id.Option_1_Selected__c = TRUE;    
           	Update UpdatedQO;
     	PageReference pr = new PageReference('');
     	return pr;
Ive done controller extension test classes but it didnt seem to work. Would anybody be able to give me some pointers on this please.

Kind Regards