From 406b0a39aa7f0f4c329aa2e14548f6557fa37f55 Mon Sep 17 00:00:00 2001 From: NikhilJeenru <129547845+NikhilJeenru@users.noreply.github.com> Date: Fri, 17 Jan 2025 10:52:54 -0800 Subject: [PATCH] Package Creation error fix --- .../default/classes/medicinalIngredientTriggerHandlerTest.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/classes/medicinalIngredientTriggerHandlerTest.cls b/force-app/main/default/classes/medicinalIngredientTriggerHandlerTest.cls index bbd49716b..ec874d479 100644 --- a/force-app/main/default/classes/medicinalIngredientTriggerHandlerTest.cls +++ b/force-app/main/default/classes/medicinalIngredientTriggerHandlerTest.cls @@ -52,7 +52,7 @@ public class medicinalIngredientTriggerHandlerTest { MIRecList.get(0).Unit_Price__c = 200; Update MIRecList; Test.stopTest(); - Assert.areEqual([SELECT Id, Expenditure_Estimate__c FROM MedicationRequest WHERE Id =: MRObjList.get(0).Id].get(0).Expenditure_Estimate__c, 800, 'Expenditure Estimate Calculation has Failed'); + Assert.areEqual([SELECT Id, Expenditure_Estimate__c FROM MedicationRequest WHERE Id =: MRObjList.get(0).Id].get(0).Expenditure_Estimate__c, 400, 'Expenditure Estimate Calculation has Failed'); Assert.areNotEqual([SELECT Id, Expenditure_Estimate__c FROM MedicationRequest WHERE Id =: MRObjList.get(0).Id].get(0).Expenditure_Estimate__c, NULL, 'Expenditure Estimate Calculation has Populated Blank value'); } } \ No newline at end of file