mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor: api key repository (#15491)
This commit is contained in:
parent
1745f48f3d
commit
9a1068c867
12 changed files with 44 additions and 72 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { IKeyRepository } from 'src/interfaces/api-key.interface';
|
||||
import { IApiKeyRepository } from 'src/types';
|
||||
import { Mocked, vitest } from 'vitest';
|
||||
|
||||
export const newKeyRepositoryMock = (): Mocked<IKeyRepository> => {
|
||||
export const newKeyRepositoryMock = (): Mocked<IApiKeyRepository> => {
|
||||
return {
|
||||
create: vitest.fn(),
|
||||
update: vitest.fn(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue