diff options
-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); |