feat: transcode in stats #27616
test.yml
on: pull_request
pre-job
8s
ShellCheck
9s
OpenAPI Clients
1m 10s
TypeORM Checks
1m 12s
Test & Lint Server
1m 35s
Unit Test CLI
0s
Unit Test CLI (Windows)
0s
Test & Lint Web
4m 29s
End-to-End Lint
0s
Medium Tests (Server)
1m 57s
End-to-End Tests (Server & CLI)
3m 17s
End-to-End Tests (Web)
3m 7s
Unit Test Mobile
0s
Unit Test ML
0s
Annotations
6 errors
TypeORM Checks
Process completed with exit code 1.
|
TypeORM Checks
Process completed with exit code 1.
|
OpenAPI Clients
Process completed with exit code 1.
|
src/api/specs/server.e2e-spec.ts > /server > GET /server/statistics > should return the server stats:
e2e/src/api/specs/server.e2e-spec.ts#L164
AssertionError: expected { photos: +0, videos: +0, …(5) } to deeply equal { photos: +0, usage: +0, …(4) }
- Expected
+ Received
Object {
"photos": 0,
"usage": 0,
"usageByUser": Array [
Object {
"photos": 0,
"quotaSizeInBytes": null,
"usage": 0,
"usagePhotos": 0,
+ "usageTranscode": 0,
"usageVideos": 0,
"userId": "379f85a5-7f40-4814-baf5-1f9412e06e7f",
"userName": "Immich Admin",
"videos": 0,
},
Object {
"photos": 0,
"quotaSizeInBytes": null,
"usage": 0,
"usagePhotos": 0,
+ "usageTranscode": 0,
"usageVideos": 0,
"userId": "18d548d9-8186-4740-8028-72ab6842998d",
"userName": "User 1",
"videos": 0,
},
],
"usagePhotos": 0,
+ "usageTranscode": 0,
"usageVideos": 0,
"videos": 0,
}
❯ src/api/specs/server.e2e-spec.ts:164:20
|
End-to-End Tests (Server & CLI)
Process completed with exit code 1.
|
Test & Lint Web
Process completed with exit code 1.
|