Skip to content

Commit

Permalink
[SC-16105] Fix automation tests (#13)
Browse files Browse the repository at this point in the history
Signed-off-by: Ash Wu <hsatac@gmail.com>
  • Loading branch information
hSATAC authored May 24, 2024
1 parent 86f5023 commit a844a02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ func authorizeOrder(orderId string) (err error) {
return
}
//req.DevMode()
httpClient := req.C().SetLogger(nil) //.EnableDumpAllWithoutResponse()
_, err = httpClient.R().SetBearerAuthToken(accessToken).SetBody(`{"paymentMethod":"pm_test_visaApproved","paymentPlan":"pay_in_three"}`).Post(apiPath.String())
httpClient := req.C().SetLogger(nil) //.EnableDumpAll()
_, err = httpClient.R().SetHeader("Accept", "application/json").SetBearerAuthToken(accessToken).SetBody(`{"paymentMethod":"pm_test_visaApproved","paymentPlan":"pay_in_three"}`).Post(apiPath.String())

return
}
Expand Down

0 comments on commit a844a02

Please sign in to comment.