From cf1f0f0e3f0a15a57950315bb45a9a8a938f500e Mon Sep 17 00:00:00 2001 From: Ilia Kebets Date: Mon, 23 Dec 2024 09:00:37 +0100 Subject: [PATCH] Remove assertions of endpoints that were removed in SQS --- .../test/java/com/sonar/it/web/StandardMeasuresTest.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/its/plugin/src/test/java/com/sonar/it/web/StandardMeasuresTest.java b/its/plugin/src/test/java/com/sonar/it/web/StandardMeasuresTest.java index 9d0359c1c..6ff8efe8f 100644 --- a/its/plugin/src/test/java/com/sonar/it/web/StandardMeasuresTest.java +++ b/its/plugin/src/test/java/com/sonar/it/web/StandardMeasuresTest.java @@ -70,9 +70,6 @@ public void testProjectMeasures() { assertThat(getProjectMeasureAsDouble("public_api")).isNull(); assertThat(getProjectMeasureAsDouble("complexity")).isEqualTo(391d); - assertThat(getProjectMeasureAsDouble("function_complexity")).isNull(); - assertThat(getProjectMeasureAsDouble("function_complexity_distribution")).isNull(); - assertThat(getProjectMeasureAsDouble("file_complexity")).isEqualTo(3.8); } @Test @@ -104,9 +101,6 @@ public void testFileMeasures() { assertThat(getFileMeasureAsDouble("duplicated_lines_density")).isZero(); assertThat(getFileMeasureAsDouble("statements")).isNull(); assertThat(getFileMeasureAsDouble("complexity")).isEqualTo(16d); - assertThat(getFileMeasureAsDouble("function_complexity")).isNull(); - assertThat(getFileMeasureAsDouble("function_complexity_distribution")).isNull(); - assertThat(getFileMeasureAsDouble("file_complexity")).isEqualTo(16.0d); } @Test