From da7062edb1dd1fdc83354572d219ad3f689f171f Mon Sep 17 00:00:00 2001 From: upendrakumbham Date: Thu, 5 Dec 2024 14:09:57 +0000 Subject: [PATCH] Fix broken test Signed-off-by: upendrakumbham --- .../experimentpage/markergenes/MarkerGeneServiceTest.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/test/java/uk/ac/ebi/atlas/experimentpage/markergenes/MarkerGeneServiceTest.java b/app/src/test/java/uk/ac/ebi/atlas/experimentpage/markergenes/MarkerGeneServiceTest.java index eaa35fc92..8fa9546e7 100644 --- a/app/src/test/java/uk/ac/ebi/atlas/experimentpage/markergenes/MarkerGeneServiceTest.java +++ b/app/src/test/java/uk/ac/ebi/atlas/experimentpage/markergenes/MarkerGeneServiceTest.java @@ -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); } @@ -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); }