diff options
Diffstat (limited to 'sonar-plugin-api/src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java')
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java index ba2d0a36e56..f54bde9a043 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java @@ -80,7 +80,7 @@ public class XMLProfileSerializerTest { public void exportAlerts() throws Exception { Writer writer = new StringWriter(); RulesProfile profile = RulesProfile.create("sonar way", "java"); - Alert alert = new Alert(profile, new Metric("coverage"), Alert.OPERATOR_SMALLER, "60", "80"); + Alert alert = new Alert(profile, new Metric("coverage"), Alert.OPERATOR_SMALLER, "60", "80", 1); profile.getAlerts().add(alert); new XMLProfileSerializer().write(profile, writer); |