瀏覽代碼

no message

lighter 4 年之前
父節點
當前提交
c365d0f1f6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/test/java/thyyxxk/wxservice_server/WxserviceServerApplicationTests.java

+ 1 - 1
src/test/java/thyyxxk/wxservice_server/WxserviceServerApplicationTests.java

@@ -3,7 +3,7 @@ package thyyxxk.wxservice_server;
 import org.junit.jupiter.api.Test;
 import org.springframework.boot.test.context.SpringBootTest;
 
-@SpringBootTest
+@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
 class WxserviceServerApplicationTests {
 
     @Test