diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-server/src/test/java/org/sonar/server/issue/InternalRubyIssueServiceTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/InternalRubyIssueServiceTest.java b/server/sonar-server/src/test/java/org/sonar/server/issue/InternalRubyIssueServiceTest.java index 67be6cce5ad..b434b978b79 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/issue/InternalRubyIssueServiceTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/issue/InternalRubyIssueServiceTest.java @@ -578,7 +578,8 @@ public class InternalRubyIssueServiceTest { overrideProps.put("pageSize", 20); overrideProps.put("pageIndex", 2); - when(issueQueryService.createFromMap(eq(overrideProps))).thenReturn(IssueQuery.builder().build()); + IssueQuery query = IssueQuery.builder().build(); + when(issueQueryService.createFromMap(eq(overrideProps))).thenReturn(query); service.execute(10L, overrideProps); |