You need to sign in to do that
Don't have an account?
Carolyn juliana 7
How to Write a test class for Aura Enabled class as shown
hey gurus,
need your help in writing test class code for below apex class
Your help is highlyappreicated
Carolyn
need your help in writing test class code for below apex class
public with sharing class SaveRecord_Lightning{ @AuraEnabled public static List<ERT_Case_Type> getAllrecords(){ return [SELECT Id,Case__c,Level1__c,Level2__c,Level3__c from ERT_Case_Type]; } @AuraEnabled public static ERT_Case_Type saveRecord(ERT_Case_Type recordDetail){ upsert recordDetail; return recordDetail; } }
Your help is highlyappreicated
Carolyn
Regards
Andrew