mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(Core): gracefully shutdown router/scheduler if Redis is unavailable (#891)
Co-authored-by: prajjwal kumar <prajjwal.kumar@prajjwalkumar-DWKH9NPY4R.local> Co-authored-by: Nishant Joshi <nishant.joshi@juspay.in> Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
@ -152,7 +152,7 @@ mod pii_masking_strategy_tests {
|
||||
#[test]
|
||||
fn test_invalid_card_number_masking() {
|
||||
let secret: Secret<String, CardNumber> = Secret::new("1234567890".to_string());
|
||||
assert_eq!("123456****", format!("{secret:?}"));
|
||||
assert_eq!("*** alloc::string::String ***", format!("{secret:?}",));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user