diff options
author | Antoine Vinot <antoine.vinot@sonarsource.com> | 2022-10-13 10:01:29 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-10-13 20:03:18 +0000 |
commit | 7586590b46ab25a70d6effee855a65390ba89d9d (patch) | |
tree | 29c8fb5db5953f9a8c74d7a915509cc05300d39d /server/sonar-webserver-webapi | |
parent | feec32063fe34a989c32b9add3449cad448bc51d (diff) | |
download | sonarqube-7586590b46ab25a70d6effee855a65390ba89d9d.tar.gz sonarqube-7586590b46ab25a70d6effee855a65390ba89d9d.zip |
NO-JIRA - Fix dbKey not existing anymore
Diffstat (limited to 'server/sonar-webserver-webapi')
-rw-r--r-- | server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ProjectsActionTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ProjectsActionTest.java b/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ProjectsActionTest.java index 6dde162782b..ca1393e1246 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ProjectsActionTest.java +++ b/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ProjectsActionTest.java @@ -247,7 +247,7 @@ public class ProjectsActionTest { ProjectDto project2 = db.components().insertPublicProjectDto(p -> p.setName("Project Two")); ProjectDto project3 = db.components().insertPublicProjectDto(p -> p.setName("Project Three")); db.components().insertPublicProjectDto(p -> p.setName("Project Four")); - ProjectDto project5 = db.components().insertPublicProjectDto(p -> p.setDbKey("Project the fifth")); + ProjectDto project5 = db.components().insertPublicProjectDto(p -> p.setKey("Project the fifth")); QProfileDto qualityProfile = db.qualityProfiles().insert(); associateProjectsWithProfile(qualityProfile, project1, project2); |