diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptEslintBasedSensorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptEslintBasedSensorTest.java index 33b6f31a9f..8d6883ff81 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptEslintBasedSensorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptEslintBasedSensorTest.java @@ -772,7 +772,9 @@ void should_add_telemetry_for_scanner_analysis() throws Exception { context.setNextCache(mock(WriteCache.class)); createInputFile(context); sensor.execute(context); - assertThat(logTester.logs(Level.DEBUG)).contains("Telemetry saved: {javascript.pkg1=1.1.0}"); + assertThat(logTester.logs(Level.DEBUG)).contains( + "Telemetry saved: {javascript.dependency.pkg1=1.1.0}" + ); } private static JsTsChecks checks(String... ruleKeys) {