Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(test_utils): remove `cmd` alias for `std::process::Command` (#1981)

Pa1NarKc161530a6c8a
diff --git a/crates/test_utils/src/main.rs b/crates/test_utils/src/main.rs
index f6b56bffcf..2867f911a8 100644
--- a/crates/test_utils/src/main.rs
+++ b/crates/test_utils/src/main.rs
@@ -1,6 +1,6 @@
use std::{
env,
- process::{exit, Command as cmd},
+ process::{exit, Command},
};
use clap::{arg, command, Parser};
@@ -45,7 +45,7 @@ fn main() {
// been added to the postman collection, those conditions are set to true and collections that have
// variables set up for certificate, will consider those variables and will fail.
- let mut newman_command = cmd::new("newman");
+ let mut newman_command = Command::new("newman");
newman_command.args(["run", &collection_path]);
newman_command.args(["--env-var", &format!("admin_api_key={admin_api_key}")]);
newman_command.args(["--env-var", &format!("baseUrl={base_url}")]);