📝 收敛测试类与 pom 依赖的注释表述
This commit is contained in:
@@ -95,7 +95,7 @@
|
|||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 测试:本模块此前没有 src/test,也没有测试依赖;JUnit 5 / Mockito 由该 starter 带入 -->
|
<!-- JUnit 5 / Mockito 由该 starter 带入,版本由父 pom 管理 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-test</artifactId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
||||||
|
|||||||
+2
-2
@@ -33,8 +33,8 @@ import static org.mockito.Mockito.when;
|
|||||||
/**
|
/**
|
||||||
* 车辆管理保存({@code submit} → {@code prepare} + {@code validate})的组织口径。
|
* 车辆管理保存({@code submit} → {@code prepare} + {@code validate})的组织口径。
|
||||||
* <p>
|
* <p>
|
||||||
* 所属组织是车辆的档案属性,不是保存的前置条件:司机端建出来的车组织可能是空串,
|
* 所属组织是车辆的档案属性,不是保存的前置条件:组织为空串(司机端建车、管理端未选组织)
|
||||||
* 管理端若仍要求必填,这辆车在后台就成了只读——打开能看、一保存就报错。
|
* 也能保存,落库后即「未分配组织」。
|
||||||
*/
|
*/
|
||||||
class TransportVehicleServiceImplTest {
|
class TransportVehicleServiceImplTest {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user