]> source.dussan.org Git - sonarqube.git/commitdiff
Fix test
authorStas Vilchik <vilchiks@gmail.com>
Thu, 10 Apr 2014 12:04:08 +0000 (18:04 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 10 Apr 2014 12:04:08 +0000 (18:04 +0600)
sonar-server/src/test/java/org/sonar/server/qualitygate/ws/QgateAppHandlerTest.java

index f46bb137b40d261c760ab892fcfc0a44a56f0da6..bc0334256ed01fab77633612c740ae969a8de2c0 100644 (file)
@@ -89,7 +89,7 @@ public class QgateAppHandlerTest {
     Collection<Map> periods = (Collection<Map>) 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<Entry>) messages.entrySet()) {
       assertThat(message.getKey()).isEqualTo(message.getValue());
     }