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