Skip to content

Commit

Permalink
TRUNK-6028 ProgramWorkflowServiceTest pass on MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
dkayiwa committed Sep 22, 2022
1 parent 652ed5e commit 48f9842
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public void savePatientProgram_shouldSetEndDateOfAllRecentStatesWhenCompletingTh
// Patient Program Architecture
PatientProgram patientprogram = new PatientProgram();
patientprogram.setProgram(program);
patientprogram.setPatient(new Patient());
patientprogram.setPatient(new Patient(2));
patientprogram.setDateEnrolled(day1);
patientprogram.setDateCompleted(null);

Expand Down Expand Up @@ -336,7 +336,7 @@ public void savePatientProgram_shouldSetEndDateOfAllRecentStatesOnTransitionToTe
// Patient Program Architecture
PatientProgram patientprogram = new PatientProgram();
patientprogram.setProgram(program);
patientprogram.setPatient(new Patient());
patientprogram.setPatient(new Patient(2));
patientprogram.setDateEnrolled(day1);
patientprogram.setDateCompleted(null);

Expand Down Expand Up @@ -973,7 +973,7 @@ public void saveConceptStateConversion_shouldThrowConceptStateConversionRequire(
public void saveConceptStateConversion_shouldTestSaveConceptStateConversion() {
ConceptStateConversion newConceptStateConversion = new ConceptStateConversion();
ConceptStateConversion existingConceptStateConversion = pws.getAllConceptStateConversions().get(0);
newConceptStateConversion.setConcept(existingConceptStateConversion.getConcept());
newConceptStateConversion.setConcept(new Concept(3));
newConceptStateConversion.setProgramWorkflow(existingConceptStateConversion.getProgramWorkflow());
newConceptStateConversion.setProgramWorkflowState(existingConceptStateConversion.getProgramWorkflowState());
String conceptStateConversionUuid = newConceptStateConversion.getUuid();
Expand Down

0 comments on commit 48f9842

Please sign in to comment.