commit | cabd4221260de5a9474af2b2b736081b2b4db6f0 | [log] [tgz] |
---|---|---|
author | Jose Granha <jose.granha@gmail.com> | Fri May 03 16:04:17 2024 +0100 |
committer | Jose Granha <jose.granha@gmail.com> | Fri May 03 16:10:37 2024 +0100 |
tree | 92d29edd4c301960372757f11f455147816114bd | |
parent | 52cd6d592363bf6ffd3b745044bdfd6aab980973 [diff] |
Fix test for Gerrit stable-3.9 Bug: Issue 338535763 Change-Id: If84efef7abd55f733f51db54a235f895cd822b9d
diff --git a/src/test/java/com/googlesource/gerrit/plugins/its/jira/restapi/JiraRestApiTest.java b/src/test/java/com/googlesource/gerrit/plugins/its/jira/restapi/JiraRestApiTest.java index 27c5fc7..ce16c0c 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/its/jira/restapi/JiraRestApiTest.java +++ b/src/test/java/com/googlesource/gerrit/plugins/its/jira/restapi/JiraRestApiTest.java
@@ -82,8 +82,8 @@ @Test public void testDoPut() throws Exception { - JiraURL url = mock(JiraURL.class); - when(url.resolveUrl(any())).thenReturn(url); + url = mock(JiraURL.class); + when(url.resolveUrl(any(), any(), any())).thenReturn(url); when(url.withSpec(ISSUE_CLASS_PREFIX)).thenReturn(url); HttpURLConnection connection = mock(HttpURLConnection.class);