From c3c75e9776c36c4678d0cccde8dd838901fa6fdf Mon Sep 17 00:00:00 2001 From: gf13871 Date: Thu, 3 Aug 2023 00:41:31 +0800 Subject: [PATCH] rename info.txt to info.text --- .../apache/linkis/filesystem/restful/api/FsRestfulApiTest.java | 2 +- .../src/test/resources/{info.txt => info.text} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename linkis-public-enhancements/linkis-publicservice/src/test/resources/{info.txt => info.text} (100%) diff --git a/linkis-public-enhancements/linkis-publicservice/src/test/java/org/apache/linkis/filesystem/restful/api/FsRestfulApiTest.java b/linkis-public-enhancements/linkis-publicservice/src/test/java/org/apache/linkis/filesystem/restful/api/FsRestfulApiTest.java index 6a2d65a738..72ebc0c098 100644 --- a/linkis-public-enhancements/linkis-publicservice/src/test/java/org/apache/linkis/filesystem/restful/api/FsRestfulApiTest.java +++ b/linkis-public-enhancements/linkis-publicservice/src/test/java/org/apache/linkis/filesystem/restful/api/FsRestfulApiTest.java @@ -207,7 +207,7 @@ public void openLogTest() throws Exception { Mockito.when(fsService.getFileSystem(Mockito.anyString(), Mockito.any(FsPath.class))) .thenReturn(fs); - String path = this.getClass().getResource("/").getPath() + "info.txt"; + String path = this.getClass().getResource("/").getPath() + "info.text"; MvcResult mvcResult = mockMvc diff --git a/linkis-public-enhancements/linkis-publicservice/src/test/resources/info.txt b/linkis-public-enhancements/linkis-publicservice/src/test/resources/info.text similarity index 100% rename from linkis-public-enhancements/linkis-publicservice/src/test/resources/info.txt rename to linkis-public-enhancements/linkis-publicservice/src/test/resources/info.text