This is an automated email from the ASF dual-hosted git repository.
hefengen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new 5cbd540d02 fix: remove unnecessary mock return value in
MotanProxyServiceTest (#6207) (#6210)
5cbd540d02 is described below
commit 5cbd540d02fb759a8932d7ed45ab2227b41032ff
Author: aias00 <[email protected]>
AuthorDate: Tue Oct 21 21:24:10 2025 +0800
fix: remove unnecessary mock return value in MotanProxyServiceTest (#6207)
(#6210)
---
.../java/org/apache/shenyu/plugin/motan/proxy/MotanProxyServiceTest.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-motan/src/test/java/org/apache/shenyu/plugin/motan/proxy/MotanProxyServiceTest.java
b/shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-motan/src/test/java/org/apache/shenyu/plugin/motan/proxy/MotanProxyServiceTest.java
index ec94ff49c3..196d56af6d 100644
---
a/shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-motan/src/test/java/org/apache/shenyu/plugin/motan/proxy/MotanProxyServiceTest.java
+++
b/shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-motan/src/test/java/org/apache/shenyu/plugin/motan/proxy/MotanProxyServiceTest.java
@@ -91,7 +91,6 @@ public class MotanProxyServiceTest {
} catch (Throwable e) {
throw new RuntimeException(e);
}
- when(responseFuture.getValue()).thenReturn("success");
motanProxyService.genericInvoker("", metaData, exchange, selectorData);
}