From 4737eafcb47a9b35c9f28845c47438428d667284 Mon Sep 17 00:00:00 2001 From: crazyhzm Date: Mon, 4 Dec 2023 20:16:44 +0800 Subject: [PATCH] Fix SpringMvcRestProtocolTest Signed-off-by: crazyhzm --- .../dubbo/rpc/protocol/rest/SpringMvcRestProtocolTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dubbo-rpc/dubbo-rpc-rest/src/test/java/org/apache/dubbo/rpc/protocol/rest/SpringMvcRestProtocolTest.java b/dubbo-rpc/dubbo-rpc-rest/src/test/java/org/apache/dubbo/rpc/protocol/rest/SpringMvcRestProtocolTest.java index bfc43597c34..0c80b818e16 100644 --- a/dubbo-rpc/dubbo-rpc-rest/src/test/java/org/apache/dubbo/rpc/protocol/rest/SpringMvcRestProtocolTest.java +++ b/dubbo-rpc/dubbo-rpc-rest/src/test/java/org/apache/dubbo/rpc/protocol/rest/SpringMvcRestProtocolTest.java @@ -411,7 +411,7 @@ void testProxyDoubleCheck() { Object proxy = aopProxy.getProxy(); SpringRestDemoService server = (SpringRestDemoService) proxy; - URL nettyUrl = this.registerProvider(exportUrl, server, SpringRestDemoService.class); + URL nettyUrl = this.registerProvider(getUrl(), server, SpringRestDemoService.class); Exporter exporter = getExport(nettyUrl, server);