Skip to content

Commit

Permalink
test: deprecated된 faker 함수 수정 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coalery authored Oct 19, 2023
1 parent 6125428 commit d8af791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/__test__/fixtures/domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function generateUser(params?: Partial<UserConstructorParams>): User {
grade: faker.number.int(),
number: faker.number.int(),
email: faker.internet.email(),
phone: faker.phone.number('###-####-####'),
phone: faker.phone.number(),
homepage: faker.internet.url(),
languages: [faker.lorem.word()],
prefer: faker.lorem.word(),
Expand Down
2 changes: 1 addition & 1 deletion src/__test__/fixtures/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function generateUserView(params?: Partial<UserView>): UserView {
grade: faker.number.int(),
number: faker.number.int(),
email: faker.internet.email(),
phone: faker.phone.number('###-####-####'),
phone: faker.phone.number(),
homepage: faker.internet.url(),
languages: [faker.lorem.word()],
prefer: faker.lorem.word(),
Expand Down

0 comments on commit d8af791

Please sign in to comment.