OpenMRS Core Master
Build: #1264 was successful
Job: Deploy was successful
Code commits
openmrs-core
-
Daniel Kayiwa 21631fed98e812269dff5b6a6fbf295354cc18c7
Merge pull request #1759 from winglam/webutiltest
Added tests to org.openmrs.web.WebUtilTest. The tests are for org.opeā¦ -
Wing Lam <wing.c.lam@gmail.com> 697b695b6e692d64213cc3530c4e9232fc941537 m
Added tests to org.openmrs.web.WebUtilTest. The tests are for org.openmrs.web.WebUtil.normalizeLocale to validate the arguments accepted by this method. The test normalizeLocale_shouldNotFailWithUnderline fails when testing the normalizeLocale method with the argument "_". However according to the comments of normalizeLocale, "_" is a valid argument. We have added a fix to org.openmrs.web.WebUtil#NormailizeLocale() so that org.openmrs.web.WebUtilTest.normalizeLocale_shouldNotFailWithUnderline now passes.
- web/src/main/java/org/openmrs/web/WebUtil.java (version 697b695b6e692d64213cc3530c4e9232fc941537)
- web/src/test/java/org/openmrs/web/WebUtilTest.java (version 697b695b6e692d64213cc3530c4e9232fc941537)