diff --git a/analysis/test/golden_test.sh b/analysis/test/golden_test.sh index 9a4c6f5be4..41b47aace0 100755 --- a/analysis/test/golden_test.sh +++ b/analysis/test/golden_test.sh @@ -45,7 +45,7 @@ validate() { check_sonar() { echo " -- expect SonarImporter gives valid cc.json" ACTUAL_SONAR_JSON="${INSTALL_DIR}/actual_sonarimport.json" - "${CCSH}" sonarimport data/codecharta/sonar.xml -o "${ACTUAL_SONAR_JSON}" + "${CCSH}" sonarimport data/codecharta/sonar.xml -l --old-api -o "${ACTUAL_SONAR_JSON}" validate "${ACTUAL_SONAR_JSON}" }