Closed joechesney closed 6 years ago
This adds a small function to generate random paymentTypes for each paymentOption.
1
Faker did not give us a method to generate payment types such as "Visa", "Mastercard".
When you run node data/build-db.js, it will give you some nice payment types
node data/build-db.js
type
Description
This adds a small function to generate random paymentTypes for each paymentOption.
Number of Fixes
1
Related Ticket(s)
75
Problem to Solve
Faker did not give us a method to generate payment types such as "Visa", "Mastercard".
Expected Behavior
When you run
node data/build-db.js
, it will give you some nice payment typesSteps to Test Solution
node data/build-db.js
, and look at the json file for paymentOptions and look at thetype
property for each payment option object.