website refactor
This commit is contained in:
@@ -17,7 +17,7 @@ const mockRepository = {
|
||||
create: vi.fn(),
|
||||
update: vi.fn(),
|
||||
delete: vi.fn(),
|
||||
} as unknown as IAdminUserRepository;
|
||||
} as unknown as AdminUserRepository;
|
||||
|
||||
describe('ListUsersUseCase', () => {
|
||||
let useCase: ListUsersUseCase;
|
||||
|
||||
@@ -44,7 +44,7 @@ export type ListUsersApplicationError = ApplicationErrorCode<ListUsersErrorCode,
|
||||
*/
|
||||
export class ListUsersUseCase {
|
||||
constructor(
|
||||
private readonly adminUserRepository: IAdminUserRepository,
|
||||
private readonly adminUserRepository: AdminUserRepository,
|
||||
) {}
|
||||
|
||||
async execute(
|
||||
|
||||
Reference in New Issue
Block a user