-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Delivers-18758498] ft-buyer-stripe-payment (#78)
* [Delivers-18758498] ft-buyer-stripe-payment * [Delivers-18758498] ft-buyer-stripe-payment * --ammend * [Delivers-18758498] ft-buyer-stripe-payment * fix bugs in test * fix test * removing bugs * merge to develop and fix code base * merge to develop and fix codebase * Fixes DB double calling * Fixes DB double calling * Fixes DB double calling --------- Co-authored-by: AimePazzo <[email protected]> Co-authored-by: Ndahimana Bonheur <[email protected]>
- Loading branch information
1 parent
b2e95c9
commit cb7a058
Showing
31 changed files
with
1,417 additions
and
978 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ import { | |
userEightId, | ||
userNineId, | ||
userTenId, | ||
userElevenId | ||
} from "../../types/uuid"; | ||
|
||
const userOne = { | ||
|
@@ -205,6 +206,7 @@ const userTen = { | |
id: userTenId, | ||
createdAt: new Date(), | ||
updatedAt: new Date(), | ||
passwordUpdatedAt: new Date(), | ||
firstName: "F Buyer3", | ||
lastName: "L Buyer3", | ||
email: "[email protected]", | ||
|
@@ -220,6 +222,26 @@ const userTen = { | |
isVerified: true, | ||
is2FAEnabled: false, | ||
}; | ||
const userEleven = { | ||
id: userElevenId, | ||
createdAt: new Date(), | ||
updatedAt: new Date(), | ||
passwordUpdatedAt: new Date(), | ||
firstName: "F Buyer3", | ||
lastName: "L Buyer3", | ||
email: "[email protected]", | ||
password: hashPassword("Password@123"), | ||
phone: 25089767899, | ||
profilePicture: "", | ||
gender: "female", | ||
birthDate: "2-2-2014", | ||
language: "english", | ||
currency: "USD", | ||
role: "buyer", | ||
status: "enabled", | ||
isVerified: true, | ||
is2FAEnabled: false, | ||
}; | ||
|
||
export const up = (queryInterface: QueryInterface) => | ||
queryInterface.bulkInsert("users", [ | ||
|
@@ -233,6 +255,7 @@ export const up = (queryInterface: QueryInterface) => | |
userEight, | ||
userNine, | ||
userTen, | ||
userEleven | ||
]); | ||
|
||
export const down = async (queryInterface: QueryInterface) => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.