From b923ae190ba448c5d538394726ecba2250b78f43 Mon Sep 17 00:00:00 2001 From: Sarvesh Date: Tue, 5 Dec 2023 09:04:33 +0530 Subject: [PATCH] change picklist field --- force-app/main/default/classes/RelatedList_Test.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/classes/RelatedList_Test.cls b/force-app/main/default/classes/RelatedList_Test.cls index 1c5e0e6..d3cacb5 100644 --- a/force-app/main/default/classes/RelatedList_Test.cls +++ b/force-app/main/default/classes/RelatedList_Test.cls @@ -1,6 +1,6 @@ @isTest public with sharing class RelatedList_Test { - private static final String lookUp = '{"LastName":{"label":"Last Name","editable":true},"FirstName":{"type":"textarea","label":"Full Name"},"Level__c":{"type":"picklist"},"Account.Name":{"label":"Account Name","type":"lookup","typeAttributes":{"placeholder":"Choose Account","objectApiName":"Contact","fieldName":"AccountId","label":"Account","value":{"fieldName":"AccountId"},"context":{"fieldName":"Id"},"variant":"label-hidden","name":"Account","fields":["Account.Name"],"target":"_self"}},"Account.BillingCity":{"label":"Account BillingCity","type":"text"}}'; + private static final String lookUp = '{"LastName":{"label":"Last Name","editable":true},"FirstName":{"type":"textarea","label":"Full Name"},"LeadSource":{"type":"picklist"},"Account.Name":{"label":"Account Name","type":"lookup","typeAttributes":{"placeholder":"Choose Account","objectApiName":"Contact","fieldName":"AccountId","label":"Account","value":{"fieldName":"AccountId"},"context":{"fieldName":"Id"},"variant":"label-hidden","name":"Account","fields":["Account.Name"],"target":"_self"}},"Account.BillingCity":{"label":"Account BillingCity","type":"text"}}'; private static final String groupBy = '{"LastName":{"label":"Last Name","editable":true},"count(Id)":{"type":"text","label":"Count Id"}}'; @TestSetup