修正回执流程测试契约
This commit is contained in:
-1
@@ -296,7 +296,6 @@ class ContainerCustomsServiceTest {
|
|||||||
when(mapper.lockContainerById(2L)).thenAnswer(invocation->containerState.get());
|
when(mapper.lockContainerById(2L)).thenAnswer(invocation->containerState.get());
|
||||||
when(mapper.lockDocument(1L)).thenReturn(source);
|
when(mapper.lockDocument(1L)).thenReturn(source);
|
||||||
when(mapper.lockCompletion(1L)).thenAnswer(invocation->completionState.get());
|
when(mapper.lockCompletion(1L)).thenAnswer(invocation->completionState.get());
|
||||||
when(mapper.missingCompletionCount(2L)).thenReturn(1);
|
|
||||||
when(files.upload(any(),eq(5L),eq(7L),eq("LOADING_LIST_CUSTOMS_RESULT"),eq("9"),same(file)))
|
when(files.upload(any(),eq(5L),eq(7L),eq("LOADING_LIST_CUSTOMS_RESULT"),eq("9"),same(file)))
|
||||||
.thenReturn(com.baiyue.common.core.api.ApiResponse.success(metadata));
|
.thenReturn(com.baiyue.common.core.api.ApiResponse.success(metadata));
|
||||||
when(mapper.insertCompletion(anyLong(),eq(1L),eq(99L),eq("result.pdf"),eq("b".repeat(64)),
|
when(mapper.insertCompletion(anyLong(),eq(1L),eq(99L),eq("result.pdf"),eq("b".repeat(64)),
|
||||||
|
|||||||
Reference in New Issue
Block a user