openmrs-module-radiology
openmrs-module-radiology copied to clipboard
Update RadiologyModalityServiceComponentTest.java
repaied a bug.
Description
-expectedException.expectMessage("Reason for deletion cannot be empty");
+expectedException.expectMessage(Context.getMessageSourceService()
+ .getMessage("general.voidReason.empty"));
Related Issue
-expectedException.expectMessage("Reason for deletion cannot be empty");
+expectedException.expectMessage(Context.getMessageSourceService()
+ .getMessage("general.voidReason.empty"));
https://github.com/openmrs/openmrs-module-radiology/blob/480e3f655d492815b867847cb32f77659b508c78/api/src/test/java/org/openmrs/module/radiology/modality/RadiologyModalityServiceComponentTest.java#L152
Checklist:
- [ ] My pull request only contains one single commit.
- [ ] My pull request is based on the latest master branch
git pull --rebase upstream master. - [ ] I ran
mvn clean packageright before creating this pull request and added all formatting changes to my commit. - [ ] My code follows the code style of this project.
- [ ] I have read the CONTRIBUTING document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
@Tesla2678 did you see the travis build failure?