Skip to content

Commit

Permalink
ci(Cypress): Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnanasundari24 committed Dec 3, 2024
1 parent c585333 commit b7dbfad
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions cypress-tests/cypress/e2e/PaymentUtils/Cybersource.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,24 @@ const payment_method_data_3ds = {
billing: null,
};

const billing_with_newline = {
address: {
line1: "1467",
line2: "Harrison Street\nApt 101",
line3: "Harrison Street\nApt 101",
city: "San Fransico\n city",
state: "California",
zip: "94122",
country: "NL",
first_name: "joseph",
last_name: "Doe",
},
phone: {
number: "9123456789",
country_code: "+91",
},
};

export const connectorDetails = {
card_pm: {
PaymentIntent: {
Expand Down Expand Up @@ -189,23 +207,7 @@ export const connectorDetails = {
currency: "USD",
customer_acceptance: null,
setup_future_usage: "on_session",
billing: {
address: {
line1: "1467",
line2: "Harrison Street\nApt 101",
line3: "Harrison Street\nApt 101",
city: "San Fransico\n city",
state: "California",
zip: "94122",
country: "NL",
first_name: "joseph",
last_name: "Doe",
},
phone: {
number: "9123456789",
country_code: "+91",
},
},
billing: billing_with_newline,
},
Response: {
status: 200,
Expand Down

0 comments on commit b7dbfad

Please sign in to comment.