diff options
author | belen-pruvost-sonarsource <belen.pruvost@sonarsource.com> | 2021-07-29 07:33:08 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-08-09 20:03:17 +0000 |
commit | 91559d24f00bbbb682880540a68ac22209473550 (patch) | |
tree | 79ff0db310c78fc4f47a29779f6b24401edbdd1e /server/sonar-ce | |
parent | 317192fb5d026725f0ea0f83a9a9f94efa2bd299 (diff) | |
download | sonarqube-91559d24f00bbbb682880540a68ac22209473550.tar.gz sonarqube-91559d24f00bbbb682880540a68ac22209473550.zip |
SONAR-15139 - Update Report Endpoints to work with Projects and Apps
Diffstat (limited to 'server/sonar-ce')
-rw-r--r-- | server/sonar-ce/src/test/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerTest.java b/server/sonar-ce/src/test/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerTest.java index 6ac880ed0f3..21bcce88c78 100644 --- a/server/sonar-ce/src/test/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerTest.java +++ b/server/sonar-ce/src/test/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerTest.java @@ -153,7 +153,7 @@ public class ReportAnalysisFailureNotificationExecutionListenerTest { ComponentDto module = dbTester.components().insertComponent(newModuleDto(project)); ComponentDto directory = dbTester.components().insertComponent(newDirectory(module, randomAlphanumeric(12))); ComponentDto file = dbTester.components().insertComponent(ComponentTesting.newFileDto(project)); - ComponentDto view = dbTester.components().insertComponent(ComponentTesting.newView()); + ComponentDto view = dbTester.components().insertComponent(ComponentTesting.newPortfolio()); ComponentDto subView = dbTester.components().insertComponent(ComponentTesting.newSubView(view)); ComponentDto projectCopy = dbTester.components().insertComponent(ComponentTesting.newProjectCopy(project, subView)); ComponentDto application = dbTester.components().insertComponent(ComponentTesting.newApplication()); |