From e2d38e8b8ac49ca50fb93acf0357f5c91c28bca2 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 10 Apr 2014 18:04:08 +0600 Subject: [PATCH] Fix test --- .../org/sonar/server/qualitygate/ws/QgateAppHandlerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/test/java/org/sonar/server/qualitygate/ws/QgateAppHandlerTest.java b/sonar-server/src/test/java/org/sonar/server/qualitygate/ws/QgateAppHandlerTest.java index f46bb137b40..bc0334256ed 100644 --- a/sonar-server/src/test/java/org/sonar/server/qualitygate/ws/QgateAppHandlerTest.java +++ b/sonar-server/src/test/java/org/sonar/server/qualitygate/ws/QgateAppHandlerTest.java @@ -89,7 +89,7 @@ public class QgateAppHandlerTest { Collection periods = (Collection) responseJson.get("periods"); assertThat(periods).hasSize(3); Map messages = (Map) responseJson.get("messages"); - assertThat(messages).isNotNull().isNotEmpty().hasSize(51); + assertThat(messages).isNotNull().isNotEmpty().hasSize(53); for (Entry message: (Set) messages.entrySet()) { assertThat(message.getKey()).isEqualTo(message.getValue()); } -- 2.39.5