From 7586590b46ab25a70d6effee855a65390ba89d9d Mon Sep 17 00:00:00 2001 From: Antoine Vinot Date: Thu, 13 Oct 2022 10:01:29 +0200 Subject: [PATCH] NO-JIRA - Fix dbKey not existing anymore --- .../org/sonar/server/qualityprofile/ws/ProjectsActionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5