refactor: medium tests (#17634)

This commit is contained in:
Jason Rasmussen 2025-04-15 15:54:23 -04:00 committed by GitHub
parent 76db8cf604
commit 8da5f21fcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 385 additions and 727 deletions

View file

@ -41,7 +41,10 @@ const authFactory = ({
}: {
apiKey?: Partial<AuthApiKey>;
session?: { id: string };
user?: Partial<UserAdmin>;
user?: Omit<
Partial<UserAdmin>,
'createdAt' | 'updatedAt' | 'deletedAt' | 'fileCreatedAt' | 'fileModifiedAt' | 'localDateTime' | 'profileChangedAt'
>;
sharedLink?: Partial<AuthSharedLink>;
} = {}) => {
const auth: AuthDto = {