Skip to content

Commit

Permalink
fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ShankarSinghC committed Jun 27, 2024
1 parent 6d7f4c8 commit 01c3e62
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/router/tests/connectors/payme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ fn get_default_payment_info() -> Option<utils::PaymentInfo> {
return_url: None,
connector_customer: None,
payment_method_token: None,
#[cfg(feature = "payouts")]
currency: None,
#[cfg(feature = "payouts")]
payout_method_data: None,
Expand Down
1 change: 1 addition & 0 deletions crates/router/tests/connectors/square.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ fn get_default_payment_info(payment_method_token: Option<String>) -> Option<util
payment_method_token,
#[cfg(feature = "payouts")]
payout_method_data: None,
#[cfg(feature = "payouts")]
currency: None,
})
}
Expand Down
1 change: 1 addition & 0 deletions crates/router/tests/connectors/stax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ fn get_default_payment_info(
payment_method_token,
#[cfg(feature = "payouts")]
payout_method_data: None,
#[cfg(feature = "payouts")]
currency: None,
})
}
Expand Down
1 change: 1 addition & 0 deletions crates/router/tests/connectors/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ pub struct PaymentInfo {
pub payment_method_token: Option<String>,
#[cfg(feature = "payouts")]
pub payout_method_data: Option<types::api::PayoutMethodData>,
#[cfg(feature = "payouts")]
pub currency: Option<enums::Currency>,
}

Expand Down

0 comments on commit 01c3e62

Please sign in to comment.