fix(init): 修复 pom.xml 冗余编译器属性,测试类加 webEnvironment=NONE (T001)

This commit is contained in:
wh
2026-04-09 13:05:47 +08:00
parent 3b99b1d8c3
commit fba3701cb9
3 changed files with 1 additions and 3 deletions

View File

@@ -19,8 +19,6 @@
<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

View File

@@ -2,6 +2,6 @@ package com.label;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
class LabelBackendApplicationTests {
}

View File