aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/test/java/org/sonar/api/measures/MetricTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-plugin-api/src/test/java/org/sonar/api/measures/MetricTest.java')
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/measures/MetricTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/measures/MetricTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/measures/MetricTest.java
index 2332571c60e..b4168483535 100644
--- a/sonar-plugin-api/src/test/java/org/sonar/api/measures/MetricTest.java
+++ b/sonar-plugin-api/src/test/java/org/sonar/api/measures/MetricTest.java
@@ -51,7 +51,7 @@ public class MetricTest {
assertThat(metric.getWorstValue()).isNull();
assertThat(metric.getDirection()).isEqualTo(Metric.DIRECTION_NONE);
assertThat(metric.getEnabled()).isTrue();
- assertThat(metric.getId()).isNull();
+ assertThat(metric.getUuid()).isNull();
assertThat(metric.getUserManaged()).isFalse();
assertThat(metric.isHidden()).isFalse();
assertThat(metric.isOptimizedBestValue()).isFalse();