mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
chore(scripts): add connector script changes (#2620)
This commit is contained in:
@ -78,7 +78,7 @@ impl ConnectorAuthentication {
|
||||
/// Will panic if `CONNECTOR_AUTH_FILE_PATH` env is not set
|
||||
#[allow(clippy::expect_used)]
|
||||
pub fn new() -> Self {
|
||||
// Do `export CONNECTOR_AUTH_FILE_PATH="/hyperswitch/crates/router/tests/connectors/sample_sample_auth.toml"`
|
||||
// Do `export CONNECTOR_AUTH_FILE_PATH="/hyperswitch/crates/router/tests/connectors/sample_auth.toml"`
|
||||
// before running tests in shell
|
||||
let path = env::var("CONNECTOR_AUTH_FILE_PATH")
|
||||
.expect("Connector authentication file path not set");
|
||||
@ -110,7 +110,7 @@ impl ConnectorAuthenticationMap {
|
||||
/// Will panic if `CONNECTOR_AUTH_FILE_PATH` env is not set
|
||||
#[allow(clippy::expect_used)]
|
||||
pub fn new() -> Self {
|
||||
// Do `export CONNECTOR_AUTH_FILE_PATH="/hyperswitch/crates/router/tests/connectors/sample_sample_auth.toml"`
|
||||
// Do `export CONNECTOR_AUTH_FILE_PATH="/hyperswitch/crates/router/tests/connectors/sample_auth.toml"`
|
||||
// before running tests in shell
|
||||
let path = env::var("CONNECTOR_AUTH_FILE_PATH")
|
||||
.expect("connector authentication file path not set");
|
||||
|
||||
Reference in New Issue
Block a user