diff options
author | Travis Collins <travistx@gmail.com> | 2025-03-17 10:41:38 -0600 |
---|---|---|
committer | Matteo Mara <matteo.mara@sonarsource.com> | 2025-03-17 22:23:56 +0100 |
commit | 041aa60ebf9cec4be899030ccae417e87e627ef5 (patch) | |
tree | a6075b4582f6660ec7bcc9981a9a79bb31e2bc9e | |
parent | 2ac32342d92c2d89b3e8f2cfeee8adb7c96fa2df (diff) | |
download | sonarqube-041aa60ebf9cec4be899030ccae417e87e627ef5.tar.gz sonarqube-041aa60ebf9cec4be899030ccae417e87e627ef5.zip |
SONAR-24641 Fix Next issues with ScaDependenciesDaoIT (#13199)
-rw-r--r-- | server/sonar-db-dao/src/it/java/org/sonar/db/sca/ScaDependenciesDaoIT.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/server/sonar-db-dao/src/it/java/org/sonar/db/sca/ScaDependenciesDaoIT.java b/server/sonar-db-dao/src/it/java/org/sonar/db/sca/ScaDependenciesDaoIT.java index c5bd44b7414..99c028718ef 100644 --- a/server/sonar-db-dao/src/it/java/org/sonar/db/sca/ScaDependenciesDaoIT.java +++ b/server/sonar-db-dao/src/it/java/org/sonar/db/sca/ScaDependenciesDaoIT.java @@ -41,7 +41,6 @@ class ScaDependenciesDaoIT { @Test void insert_shouldPersistScaDependencies() { - ComponentDto componentDto = prepareComponentDto(); ScaDependencyDto scaDependencyDto = db.getScaDependenciesDbTester().insertScaDependency("scaReleaseUuid", "1"); List<Map<String, Object>> select = db.select(db.getSession(), "select * from sca_dependencies"); @@ -64,7 +63,6 @@ class ScaDependenciesDaoIT { @Test void deleteByUuid_shouldDeleteScaDependencies() { - ComponentDto componentDto = prepareComponentDto(); ScaDependencyDto scaDependencyDto = db.getScaDependenciesDbTester().insertScaDependency("scaReleaseUuid", "1"); List<Map<String, Object>> select = db.select(db.getSession(), "select * from sca_dependencies"); @@ -78,7 +76,6 @@ class ScaDependenciesDaoIT { @Test void selectByUuid_shouldLoadScaDependency() { - ComponentDto componentDto = prepareComponentDto(); ScaDependencyDto scaDependencyDto = db.getScaDependenciesDbTester().insertScaDependency("scaReleaseUuid", "1"); var loadedOptional = scaDependenciesDao.selectByUuid(db.getSession(), scaDependencyDto.uuid()); @@ -202,7 +199,6 @@ class ScaDependenciesDaoIT { @Test void update_shouldUpdateScaDependency() { - ComponentDto componentDto = prepareComponentDto(); ScaDependencyDto scaDependencyDto = db.getScaDependenciesDbTester().insertScaDependency("scaReleaseUuid", "1", true); ScaDependencyDto updatedScaDependency = scaDependencyDto.toBuilder() .setUpdatedAt(scaDependencyDto.updatedAt() + 1) |