mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(core): Make installment_payment_enabled,recurring_enabled Optional (#8201)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1146,8 +1146,8 @@ mod tests {
|
||||
accepted_countries: None,
|
||||
minimum_amount: Some(MinorUnit::new(10)),
|
||||
maximum_amount: Some(MinorUnit::new(1000)),
|
||||
recurring_enabled: true,
|
||||
installment_payment_enabled: true,
|
||||
recurring_enabled: Some(true),
|
||||
installment_payment_enabled: Some(true),
|
||||
},
|
||||
RequestPaymentMethodTypes {
|
||||
payment_method_type: api_enums::PaymentMethodType::Debit,
|
||||
@ -1162,8 +1162,8 @@ mod tests {
|
||||
accepted_countries: None,
|
||||
minimum_amount: Some(MinorUnit::new(10)),
|
||||
maximum_amount: Some(MinorUnit::new(1000)),
|
||||
recurring_enabled: true,
|
||||
installment_payment_enabled: true,
|
||||
recurring_enabled: Some(true),
|
||||
installment_payment_enabled: Some(true),
|
||||
},
|
||||
]),
|
||||
}]),
|
||||
|
||||
Reference in New Issue
Block a user