Skip to content

Commit

Permalink
fix: missed test
Browse files Browse the repository at this point in the history
  • Loading branch information
eruizgar91 committed Mar 4, 2024
1 parent 73d8446 commit e2da6ed
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions src/user-profiles/user-profile.integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,19 @@ describe('User Profile', () => {
userProfile.name = faker.person.fullName()
userProfile.email = faker.internet.email()
userProfile.state = State.Confirmed
userProfile.additionalInformation.isPublisherEnabled = false
userProfile.additionalInformation.paymentMethodsAccepted = PaymentMethodsAccepted.NotSelected
userProfile.additionalInformation.stripe = {
accountId: faker.string.uuid(),
isAccountValidated: false,
accountCreatedAt: faker.date.past().toDateString(),
accountUpdatedAt: faker.date.recent().toDateString(),
additionalInformation: {},
} as Stripe
userProfile.additionalInformation = {
linkedinProfile: faker.internet.url(),
profilePicture: faker.internet.url(),
isPublisherEnabled: false,
paymentMethodsAccepted: PaymentMethodsAccepted.NotSelected,
stripe: {
accountId: faker.string.uuid(),
isAccountValidated: false,
accountCreatedAt: faker.date.past().toDateString(),
accountUpdatedAt: faker.date.recent().toDateString(),
additionalInformation: {},
} as Stripe,
}

const userProfileTwo = {
...userProfile,
Expand Down

0 comments on commit e2da6ed

Please sign in to comment.