mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
refactor(router): add domain type for merchant_connector_account id (#5685)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
This commit is contained in:
committed by
GitHub
parent
f33e1bb65c
commit
771f48cfe0
@ -710,7 +710,7 @@ mod tests {
|
||||
let stripe_account = MerchantConnectorResponse {
|
||||
connector_type: api_enums::ConnectorType::FizOperations,
|
||||
connector_name: "stripe".to_string(),
|
||||
id: "something".to_string(),
|
||||
id: common_utils::generate_merchant_connector_account_id_of_default_length(),
|
||||
connector_label: Some("something".to_string()),
|
||||
connector_account_details: masking::Secret::new(serde_json::json!({})),
|
||||
disabled: None,
|
||||
@ -767,7 +767,8 @@ mod tests {
|
||||
let stripe_account = MerchantConnectorResponse {
|
||||
connector_type: api_enums::ConnectorType::FizOperations,
|
||||
connector_name: "stripe".to_string(),
|
||||
merchant_connector_id: "something".to_string(),
|
||||
merchant_connector_id:
|
||||
common_utils::generate_merchant_connector_account_id_of_default_length(),
|
||||
business_country: Some(api_enums::CountryAlpha2::US),
|
||||
connector_label: Some("something".to_string()),
|
||||
business_label: Some("food".to_string()),
|
||||
|
||||
Reference in New Issue
Block a user