File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ pub struct {{project-name | downcase | pascal_case}};
27
27
impl api:: Payment for { { project -name | downcase | pascal_case} } { }
28
28
impl api:: PaymentSession for { { project -name | downcase | pascal_case} } { }
29
29
impl api:: ConnectorAccessToken for { { project -name | downcase | pascal_case} } { }
30
- impl api:: PreVerify for { { project -name | downcase | pascal_case} } { }
30
+ impl api:: MandateSetup for { { project -name | downcase | pascal_case} } { }
31
31
impl api:: PaymentAuthorize for { { project -name | downcase | pascal_case} } { }
32
32
impl api:: PaymentSync for { { project -name | downcase | pascal_case} } { }
33
33
impl api:: PaymentCapture for { { project -name | downcase | pascal_case} } { }
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ impl ConnectorAuthentication {
78
78
/// Will panic if `CONNECTOR_AUTH_FILE_PATH` env is not set
79
79
#[ allow( clippy:: expect_used) ]
80
80
pub fn new ( ) -> Self {
81
- // Do `export CONNECTOR_AUTH_FILE_PATH="/hyperswitch/crates/router/tests/connectors/sample_sample_auth .toml"`
81
+ // Do `export CONNECTOR_AUTH_FILE_PATH="/hyperswitch/crates/router/tests/connectors/sample_auth .toml"`
82
82
// before running tests in shell
83
83
let path = env:: var ( "CONNECTOR_AUTH_FILE_PATH" )
84
84
. expect ( "Connector authentication file path not set" ) ;
@@ -110,7 +110,7 @@ impl ConnectorAuthenticationMap {
110
110
/// Will panic if `CONNECTOR_AUTH_FILE_PATH` env is not set
111
111
#[ allow( clippy:: expect_used) ]
112
112
pub fn new ( ) -> Self {
113
- // Do `export CONNECTOR_AUTH_FILE_PATH="/hyperswitch/crates/router/tests/connectors/sample_sample_auth .toml"`
113
+ // Do `export CONNECTOR_AUTH_FILE_PATH="/hyperswitch/crates/router/tests/connectors/sample_auth .toml"`
114
114
// before running tests in shell
115
115
let path = env:: var ( "CONNECTOR_AUTH_FILE_PATH" )
116
116
. expect ( "connector authentication file path not set" ) ;
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ git checkout ${tests}/main.rs ${test_utils}/connector_auth.rs ${tests}/sample_au
78
78
79
79
# Add enum for this connector in test folder
80
80
sed -i' ' -e " s/mod utils;/mod ${payment_gateway} ;\nmod utils;/" ${tests} /main.rs
81
- sed -i' ' -e " s/ pub $previous_connector : \(.*\)/\tpub $previous_connector : \1\n\tpub ${payment_gateway} : Option<HeaderKey>,/; s/auth.toml/sample_auth.toml/ " ${test_utils} /connector_auth.rs
81
+ sed -i' ' -e " s/ pub $previous_connector : \(.*\)/\tpub $previous_connector : \1\n\tpub ${payment_gateway} : Option<HeaderKey>,/" ${test_utils} /connector_auth.rs
82
82
echo " \n\n[${payment_gateway} ]\napi_key=\" API Key\" " >> ${tests} /sample_auth.toml
83
83
84
84
# Remove temporary files created in above step
You can’t perform that action at this time.
0 commit comments