From 654a5d60311fb89a34eccf5ddc4678cf8d9bad8c Mon Sep 17 00:00:00 2001 From: Bas Leenknegt Date: Thu, 15 Jun 2023 16:46:24 +0200 Subject: [PATCH] Revert controler rename to keep backward compatible --- web/src/main/java/org/cbioportal/web/StudyViewController.java | 2 +- .../test/java/org/cbioportal/web/StudyViewControllerTest.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/main/java/org/cbioportal/web/StudyViewController.java b/web/src/main/java/org/cbioportal/web/StudyViewController.java index ca1d405662b..3216dd5054a 100644 --- a/web/src/main/java/org/cbioportal/web/StudyViewController.java +++ b/web/src/main/java/org/cbioportal/web/StudyViewController.java @@ -883,7 +883,7 @@ public ResponseEntity> fetchGenericAssayDataBinCounts( @RequestMapping(value = "/clinical-data-table/fetch", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE) @ApiOperation("Fetch clinical data for the Clinical Tab of Study View") - public ResponseEntity fetchClinicalTable( + public ResponseEntity fetchClinicalDataClinicalTable( @ApiParam(required = true, value = "Study view filter") @Valid @RequestBody(required = false) StudyViewFilter studyViewFilter, diff --git a/web/src/test/java/org/cbioportal/web/StudyViewControllerTest.java b/web/src/test/java/org/cbioportal/web/StudyViewControllerTest.java index 374ea1c24fe..027b928a951 100644 --- a/web/src/test/java/org/cbioportal/web/StudyViewControllerTest.java +++ b/web/src/test/java/org/cbioportal/web/StudyViewControllerTest.java @@ -765,7 +765,6 @@ public void fetchGenericAssayDataCounts() throws Exception { @Test public void fetchClinicalDataClinicalTable() throws Exception { - // For this sake of this test the sample clinical data and patient clinical data are identical. when(clinicalDataService.fetchSampleClinicalTable(anyList(), anyList(), anyInt(), anyInt(), anyString(), any(), anyString())).thenReturn(clinicalData);