Skip to content

Commit

Permalink
modify externalUserDtoFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
MajedAlaitwniCap committed Dec 18, 2024
1 parent feda809 commit 2d49b6b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ExternalUserDto } from '@src/modules/provisioning';
import { ObjectId } from '@mikro-orm/mongodb';
import { RoleName } from '@shared/domain/interface';
import { ExternalUserDto } from '@src/modules/provisioning';
import { Factory } from 'fishery';

export const externalUserDtoFactory = Factory.define<ExternalUserDto, ExternalUserDto>(
Expand All @@ -9,5 +10,6 @@ export const externalUserDtoFactory = Factory.define<ExternalUserDto, ExternalUs
firstName: `Firstname ${sequence}`,
lastName: `Lastname ${sequence}`,
email: `Email ${sequence}`,
roles: [RoleName.STUDENT],
})
);

0 comments on commit 2d49b6b

Please sign in to comment.