diff --git a/api/src/test/java/org/openmrs/api/db/hibernate/HibernateConceptDAOTest.java b/api/src/test/java/org/openmrs/api/db/hibernate/HibernateConceptDAOTest.java index 239e108fb7c8..62fd26acc662 100644 --- a/api/src/test/java/org/openmrs/api/db/hibernate/HibernateConceptDAOTest.java +++ b/api/src/test/java/org/openmrs/api/db/hibernate/HibernateConceptDAOTest.java @@ -256,6 +256,7 @@ public void getConceptReferenceRangesByConceptId_shouldReturnEmptyListForIfNoCon Concept concept = new Concept(); concept.addName(new ConceptName("Tuberculosis", Locale.US)); concept.setDatatype(conceptDatatype); + concept.setConceptClass(new ConceptClass(1)); dao.saveConcept(concept); //When