Skip to content

Commit

Permalink
Merge pull request #1437 from bcgov/BCMOHAD-25690
Browse files Browse the repository at this point in the history
BCMOHAD-25690 - Package Creation error fix
  • Loading branch information
NataliaNikishina authored Jan 17, 2025
2 parents 67e6203 + b9892bd commit f7d8c60
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 f7d8c60

Please sign in to comment.