]> source.dussan.org Git - sonarqube.git/commitdiff
Fix UT for components count
authorJacek <jacek.poreda@sonarsource.com>
Thu, 19 Sep 2019 09:07:34 +0000 (11:07 +0200)
committerSonarTech <sonartech@sonarsource.com>
Tue, 24 Sep 2019 18:21:18 +0000 (20:21 +0200)
server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/DaoModuleTest.java

index ec6a7864e961d98317e481b7fcf9f88709c297d0..5df6919d05a3b01a90cf4278370f4418487e58da 100644 (file)
@@ -128,7 +128,7 @@ public class ComputeEngineContainerImplTest {
       assertThat(picoContainer.getParent().getParent().getParent().getComponentAdapters()).hasSize(
         COMPONENTS_IN_LEVEL_1_AT_CONSTRUCTION
           + 26 // level 1
-          + 62 // content of DaoModule
+          + 63 // content of DaoModule
           + 3 // content of EsModule
           + 51 // content of CorePropertyDefinitions
           + 1 // StopFlagContainer
index cb8424da879e93914d7814620aae11b4be84c9db..5063ba33bd182bbc14448cc813698d6ea4095619 100644 (file)
@@ -30,6 +30,6 @@ public class DaoModuleTest {
   public void verify_count_of_added_components() {
     ComponentContainer container = new ComponentContainer();
     new DaoModule().configure(container);
-    assertThat(container.size()).isEqualTo(COMPONENTS_IN_EMPTY_COMPONENT_CONTAINER + 62);
+    assertThat(container.size()).isEqualTo(COMPONENTS_IN_EMPTY_COMPONENT_CONTAINER + 63);
   }
 }