49 lines
2.0 KiB
Markdown
49 lines
2.0 KiB
Markdown
# 测试结果
|
|
|
|
- 时间: 20260410-164555
|
|
- 范围: main
|
|
- 文件: test/app/controller/system.storage.receiving.test.js
|
|
- 状态: pass
|
|
- 退出码: 0
|
|
|
|
## 标准输出
|
|
|
|
```text
|
|
[egg-ts-helper] create typings\app\extend\application.d.ts (2ms)
|
|
[egg-ts-helper] create typings\app\controller\index.d.ts (2ms)
|
|
[egg-ts-helper] create typings\app\model\index.d.ts (2ms)
|
|
[egg-ts-helper] create typings\config\index.d.ts (16ms)
|
|
[egg-ts-helper] create typings\config\plugin.d.ts (1ms)
|
|
[egg-ts-helper] create typings\app\service\index.d.ts (3ms)
|
|
[egg-ts-helper] create typings\app\index.d.ts (0ms)
|
|
|
|
|
|
test/app/controller/system.storage.receiving.test.js
|
|
鉁?should query receiving list (1121ms)
|
|
鉁?should query receiving detail when list has records (1288ms)
|
|
鉁?should bind store to receiving and reject rebinding when owner already exists (1824ms)
|
|
鉁?should reject bindStore when receiving is cancelled (1647ms)
|
|
鉁?should bind and rebind system product for a receiving detail (2546ms)
|
|
鉁?should create and then batch cancel receiving order (1293ms)
|
|
鉁?should generate unique receiving numbers under concurrent create requests (1329ms)
|
|
鉁?should include same-day records when created_at uses daterange filter (1368ms)
|
|
鉁?should reject getReceivingDetail with invalid id (1045ms)
|
|
鉁?should reject create with invalid loading_method enum (1083ms)
|
|
鉁?should reject batchCancelReceiving with nonexistent ids (1046ms)
|
|
鉁?should get receiving detail with details and images via storage.receiving.get (1776ms)
|
|
鉁?should return code 0 when getting non-existent receiving via storage.receiving.get (1059ms)
|
|
鉁?should return details sorted by id DESC via storage.receiving.get (2119ms)
|
|
鉁?should include location space info in details via storage.receiving.get (1196ms)
|
|
|
|
|
|
15 passing (22s)
|
|
|
|
[mochawesome] Report JSON saved to D:\wms\node_modules\.mochawesome-reports\mochawesome.json
|
|
|
|
[mochawesome] Report HTML saved to D:\wms\node_modules\.mochawesome-reports\mochawesome.html
|
|
```
|
|
|
|
## 标准错误
|
|
|
|
(empty)
|