From 61c9a3c9aecdb99b5641ac5866ba4f829c89765f Mon Sep 17 00:00:00 2001 From: Sunrisea <1336317033@qq.com> Date: Wed, 8 Jan 2025 17:23:50 +0800 Subject: [PATCH] fix test --- .../service/query/handler/ConfigChainEntryHandlerTest.java | 2 +- .../service/query/handler/SpecialTagNotFoundHandlerTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/src/test/java/com/alibaba/nacos/config/server/service/query/handler/ConfigChainEntryHandlerTest.java b/config/src/test/java/com/alibaba/nacos/config/server/service/query/handler/ConfigChainEntryHandlerTest.java index d2da5bceb7f..067b1815d42 100644 --- a/config/src/test/java/com/alibaba/nacos/config/server/service/query/handler/ConfigChainEntryHandlerTest.java +++ b/config/src/test/java/com/alibaba/nacos/config/server/service/query/handler/ConfigChainEntryHandlerTest.java @@ -149,7 +149,7 @@ public void handleLockSuccessAndNextHandlerNullShouldReturnEmptyResponse() throw @Test public void testGetName() { - assertEquals("configChainEntryHandler", configChainEntryHandler.getName()); + assertEquals("chainEntryHandler", configChainEntryHandler.getName()); } } \ No newline at end of file diff --git a/config/src/test/java/com/alibaba/nacos/config/server/service/query/handler/SpecialTagNotFoundHandlerTest.java b/config/src/test/java/com/alibaba/nacos/config/server/service/query/handler/SpecialTagNotFoundHandlerTest.java index 296b05510a5..817f0f35cc2 100644 --- a/config/src/test/java/com/alibaba/nacos/config/server/service/query/handler/SpecialTagNotFoundHandlerTest.java +++ b/config/src/test/java/com/alibaba/nacos/config/server/service/query/handler/SpecialTagNotFoundHandlerTest.java @@ -58,7 +58,7 @@ public void handleTagEmptyDelegatesToNextHandler() throws IOException { @Test public void getName() { - assertEquals("SpecialTagNotFoundHandler", specialTagNotFoundHandler.getName()); + assertEquals("specialTagNotFoundHandler", specialTagNotFoundHandler.getName()); } } \ No newline at end of file