Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
TRUNK-5068: renaming test
  • Loading branch information
helderjosue committed Mar 27, 2024
commit 8740c3321f59abb2d0708c1cae6a043270d2265e
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ public void triggerStateConversion_shouldTestTransitionToState(){
* @see ProgramWorkflowService#getPatientProgramAttributeByUuid(String)
*/
@Test
public void getProgramAttributeType_shouldPass(){
public void getProgramAttributeType_shouldReturnAttributeThatMatchesGivenUuid(){

PatientProgramAttribute patientProgramAttribute = pws.getPatientProgramAttributeByUuid("dd8793dc-e9d2-11ee-9b67-333dbdea27a2");
assertNotNull(patientProgramAttribute);
Expand All @@ -1120,7 +1120,7 @@ public void getProgramAttributeType_shouldPass(){
* @see ProgramWorkflowService#getPatientProgramAttributeByAttributeName(List, String)
*/
@Test
public void getProgramAttributeByAttributeName_shouldPass(){
public void getProgramAttributeByAttributeName_shouldReturnAttributeThatMatchesGivenName(){
Map<Object, Object> results = pws.getPatientProgramAttributeByAttributeName(
Collections.singletonList(2),"programName");
assertEquals(1,results.size());
Expand All @@ -1131,7 +1131,7 @@ public void getProgramAttributeByAttributeName_shouldPass(){
* @see ProgramWorkflowService#getPatientProgramByAttributeNameAndValue(String, String)
*/
@Test
public void getPatientProgramByAttributeNameAndValue_shouldPass(){
public void getPatientProgramByAttributeNameAndValue_shouldReturnProgramsThatMatchesParameters(){

List<PatientProgram> patientPrograms =
pws.getPatientProgramByAttributeNameAndValue("programName", "programReference");
Expand Down