aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-webapi
diff options
context:
space:
mode:
authorAntoine Vinot <antoine.vinot@sonarsource.com>2022-10-13 10:01:29 +0200
committersonartech <sonartech@sonarsource.com>2022-10-13 20:03:18 +0000
commit7586590b46ab25a70d6effee855a65390ba89d9d (patch)
tree29c8fb5db5953f9a8c74d7a915509cc05300d39d /server/sonar-webserver-webapi
parentfeec32063fe34a989c32b9add3449cad448bc51d (diff)
downloadsonarqube-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.java2
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);