Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-1956

Fix tests with @Ignore in ConceptServiceTest

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Could
    • Resolution: Fixed
    • OpenMRS 1.8.0
    • None
    • None
    • Medium

    Description

      There are 2 tests with the @Ignore annotation in ConceptServiceTest that call getConcepts that returns a list of ConceptSearchResults, this is because the test database H2 requires that all selected columns are included in the group by clause. Fixing the tests to pass might involve tweaking the hibernate criteria in the DAO layer or switching to HQL

      Also fix EncounterServiceTest.getEncounters_shouldGetAllTheUniqueEncountersThatMatchTheSpecifiedParameterValues()
      And EncounterServiceTest.getEncounters_shouldNotReturnVoidedEncountersIfIncludeVoidedIsSetToTrue()

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                wyclif Wyclif Luyima
                wyclif Wyclif Luyima
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: