fix(init): 修复 pom.xml 冗余编译器属性,测试类加 webEnvironment=NONE (T001)
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -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>
|
||||
|
||||
|
||||
@@ -2,6 +2,6 @@ package com.label;
|
||||
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
|
||||
class LabelBackendApplicationTests {
|
||||
}
|
||||
|
||||
0
src/test/resources/.gitkeep
Normal file
0
src/test/resources/.gitkeep
Normal file
Reference in New Issue
Block a user