This is an automated email from the ASF dual-hosted git repository.
nixonrodrigues pushed a commit to branch atlas-2.6
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/atlas-2.6 by this push:
new 6c6b4a9c0f ATLAS-5429: Fix AtlasClientV2Test request matchers (#793)
6c6b4a9c0f is described below
commit 6c6b4a9c0fd2a9f5b9a9c2e1404b84f2cf4aef11
Author: Wu Shuwen <[email protected]>
AuthorDate: Mon Oct 26 22:59:05 2026 +0800
ATLAS-5429: Fix AtlasClientV2Test request matchers (#793)
---
.../client-v2/src/test/java/org/apache/atlas/AtlasClientV2Test.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/client/client-v2/src/test/java/org/apache/atlas/AtlasClientV2Test.java
b/client/client-v2/src/test/java/org/apache/atlas/AtlasClientV2Test.java
index 785da4d9f0..65cb2c4ce6 100644
--- a/client/client-v2/src/test/java/org/apache/atlas/AtlasClientV2Test.java
+++ b/client/client-v2/src/test/java/org/apache/atlas/AtlasClientV2Test.java
@@ -126,7 +126,7 @@ public class AtlasClientV2Test {
when(response.getStatus()).thenReturn(Response.Status.NO_CONTENT.getStatusCode());
- when(builder.method(anyString(), org.mockito.Matchers.<Class>any(),
anyString())).thenReturn(response);
+ when(builder.method(anyString(), org.mockito.Matchers.<Class>any(),
any())).thenReturn(response);
try {
atlasClient.updateClassifications("abb672b1-e4bd-402d-a98f-73cd8f775e2a",
Collections.singletonList(atlasClassification));
@@ -147,7 +147,7 @@ public class AtlasClientV2Test {
ClientResponse response = mock(ClientResponse.class);
when(response.getStatus()).thenReturn(Response.Status.OK.getStatusCode());
- when(builder.method(anyString(), org.mockito.Matchers.<Class>any(),
anyString())).thenReturn(response);
+ when(builder.method(anyString(), org.mockito.Matchers.<Class>any(),
any())).thenReturn(response);
try {
atlasClient.updateClassifications("abb672b1-e4bd-402d-a98f-73cd8f775e2a",
Collections.singletonList(atlasClassification));