Skip to content

Commit

Permalink
Package Creation error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilJeenru01 committed Jan 17, 2025
1 parent 98e00cb commit 406b0a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

0 comments on commit 406b0a3

Please sign in to comment.