OpenMRS Core Master

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Code commits

openmrs-core

  • Ivo Ulrich <teleivo@users.noreply.github.com>

    Ivo Ulrich <teleivo@users.noreply.github.com> 2f3ac9f9552d1db039baef2d13be83509f069798

    Merge pull request #2111 from teleivo/conceptattributevalidatortest
    Cleanup and add tests to ConceptAttributeTypeValidatorTest

  • teleivo <mrteleivo@gmail.com>

    teleivo <mrteleivo@gmail.com> d6c2b56988f5d54427d765664a7f8e8789ca1170

    Cleanup and add tests to ConceptAttributeTypeValidatorTest
    * add setUp method preparing variables needed for tests to remove
    duplication in test setup
    * split tests for null, empty, whitespace name since they are
    independent
    * add assertions for error code so we ensure that when devs refactor
    the code the user will still get the excpected error message
    * move happy path tests to the end, which makes side by side reading of
    code and test easy

    • api/src/test/java/org/openmrs/validator/ConceptAttributeTypeValidatorTest.java (version d6c2b56988f5d54427d765664a7f8e8789ca1170)