openmrs-module-radiology icon indicating copy to clipboard operation
openmrs-module-radiology copied to clipboard

Update RadiologyModalityServiceComponentTest.java

Open Tesla2678 opened this issue 5 years ago • 1 comments

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 package right 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 avatar Oct 26 '20 23:10 Tesla2678

@Tesla2678 did you see the travis build failure?

dkayiwa avatar Oct 27 '20 21:10 dkayiwa