Merge pull request #1766 from tjtunnell/APPTEST-53 APPTEST-53: Added tests for ModuleFactory in new test class ModuleFactoryTest
TJ Tunnell <tunnell2@illinois.edu>
19b272f918ec18efb0812cdf27e7e2139d7de4f6m
Added tests for ModuleFactory in new test class ModuleFactoryTest
Wing Lam <wing.c.lam@gmail.com>
697b695b6e692d64213cc3530c4e9232fc941537m
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.