OpenMRS Core Master
Build: #2742 failed
Job: Build and Test failed
Save order should fail discontinue non coded drug order if orderable of previous and new order dont match: Test case result
The below summarizes the result of the test "Save order should fail discontinue non coded drug order if orderable of previous and new order dont match" in build 2,742 of OpenMRS Core - OpenMRS Core Master - Build and Test.
- Description
- Save order should fail discontinue non coded drug order if orderable of previous and new order dont match
- Test class
- org.openmrs.api.OrderServiceTest
- Method
- saveOrder_shouldFailDiscontinueNonCodedDrugOrderIfOrderableOfPreviousAndNewOrderDontMatch
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
org.opentest4j.AssertionFailedError: Unexpected exception type thrown ==> expected: <org.openmrs.api.EditedOrderDoesNotMatchPreviousException> but was: <org.openmrs.api.ValidationException> at org.openmrs.api.OrderServiceTest.saveOrder_shouldFailDiscontinueNonCodedDrugOrderIfOrderableOfPreviousAndNewOrderDontMatch(OrderServiceTest.java:3349) Caused by: org.openmrs.api.ValidationException: 'DC DrugOrder(nullnull of non coded drug citrigine from Mon Sep 13 23:04:33 UTC 2021 to null)' failed to validate with reason: drug: Error while submitting form, concept: Invalid concept at org.openmrs.api.OrderServiceTest.lambda$saveOrder_shouldFailDiscontinueNonCodedDrugOrderIfOrderableOfPreviousAndNewOrderDontMatch$41(OrderServiceTest.java:3349) at org.openmrs.api.OrderServiceTest.saveOrder_shouldFailDiscontinueNonCodedDrugOrderIfOrderableOfPreviousAndNewOrderDontMatch(OrderServiceTest.java:3349)