mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
test: expect string jwt
This commit is contained in:
parent
3c96117e4c
commit
4e029c2c5d
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ describe(MaintenanceService.name, () => {
|
|||
mocks.systemMetadata.get.mockResolvedValue({ isMaintenanceMode: false });
|
||||
|
||||
await expect(sut.startMaintenance('admin')).resolves.toMatchObject({
|
||||
secret: expect.stringMatching(/^\w{128}$/),
|
||||
jwt: expect.any(String),
|
||||
});
|
||||
|
||||
expect(mocks.systemMetadata.set).toHaveBeenCalledWith(SystemMetadataKey.MaintenanceMode, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue