diff options
-rw-r--r-- | build.gradle | 8 | ||||
-rw-r--r-- | server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ComputeQProfileMeasureStepTest.java | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/build.gradle b/build.gradle index e9d696f7580..88b8f5f6211 100644 --- a/build.gradle +++ b/build.gradle @@ -208,7 +208,7 @@ subprojects { dependency 'junit:junit:4.12' dependency 'net.jpountz.lz4:lz4:1.3.0' dependency 'net.lightbody.bmp:littleproxy:1.1.0-beta-bmp-17' - dependency 'org.awaitility:awaitility:3.1.6' + dependency 'org.awaitility:awaitility:4.0.1' dependency 'org.apache.commons:commons-csv:1.4' dependency 'org.apache.commons:commons-email:1.5' dependency 'org.apache.commons:commons-dbcp2:2.5.0' @@ -227,7 +227,7 @@ subprojects { exclude 'org.eclipse.jdt.core.compiler:ecj' } } - dependency 'org.assertj:assertj-core:3.12.2' + dependency 'org.assertj:assertj-core:3.13.2' dependency 'org.assertj:assertj-guava:3.2.1' dependency('org.codehaus.sonar:sonar-channel:4.1') { exclude 'org.slf4j:slf4j-api' @@ -263,9 +263,9 @@ subprojects { dependency 'org.codelibs.elasticsearch.module:analysis-common:6.8.0' dependency 'org.freemarker:freemarker:2.3.20' dependency 'org.hamcrest:hamcrest-all:1.3' - dependency 'org.jsoup:jsoup:1.11.3' + dependency 'org.jsoup:jsoup:1.12.1' dependency 'org.mindrot:jbcrypt:0.4' - dependency('org.mockito:mockito-core:2.22.0') { + dependency('org.mockito:mockito-core:3.1.0') { exclude 'org.hamcrest:hamcrest-core' } dependency 'org.mybatis:mybatis:3.5.1' diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ComputeQProfileMeasureStepTest.java b/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ComputeQProfileMeasureStepTest.java index 3dc7fe868cb..6a6d1163904 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ComputeQProfileMeasureStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ComputeQProfileMeasureStepTest.java @@ -101,7 +101,7 @@ public class ComputeQProfileMeasureStepTest { underTest.execute(new TestComputationStepContext()); assertThat(measureRepository.getAddedRawMeasures(PROJECT_REF).get(QUALITY_PROFILES_KEY)) - .extracting("data").containsOnly(toJson(qpJava, qpPhp)); + .extracting("data").isEqualTo(toJson(qpJava, qpPhp)); } @Test |