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

Fix tests with @Ignore in ConceptServiceTest

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.8.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      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()

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: