Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
Signed-off-by: upendrakumbham <[email protected]>
  • Loading branch information
upendrakumbham committed Dec 5, 2024
1 parent 6c3a201 commit da7062e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ void returnEmptyCellTypeMarkerGeneProfileIfBothOntologyAndAuthorsLabelsDoesNotHa

@Test
void getMarkerGenesCountForTheInferredCelltypeOntologyLabels() {
when(markerGenesDaoMock.getMarkerGenesForTheInferredCellTypes("E-EHCA-2", "inferred cell type - ontology labels"))
when(markerGenesDaoMock.getMarkerGenesForTheInferredCellTypes("E-EHCA-2",
"inferred cell type - ontology labels"))
.thenReturn(1);

assertThat(subject.isMarkerGenesAvailableForTheInferredCellTypes("E-EHCA-2", "inferred cell type - ontology labels"))
assertThat(subject.isMarkerGenesAvailableForTheInferredCellTypes("E-EHCA-2",
"inferred cell type - ontology labels"))
.isGreaterThan(0);
}

Expand All @@ -84,7 +86,7 @@ void getMarkerGenesCountForInferredCellTypeAuthorsLabels() {
.thenReturn(1);
assertThat(subject.isMarkerGenesAvailableForTheInferredCellTypes(
"E-EHCA-2",
"inferred cell type - ontology labels"))
"inferred cell type - authors labels"))
.isGreaterThan(0);
}

Expand Down

0 comments on commit da7062e

Please sign in to comment.