mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat: add a domain type for customer_id (#4705)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -78,7 +78,7 @@ fn test_card_expiration() {
|
||||
// will panic on unwrap
|
||||
let invalid_card_exp = CardExpiration::try_from((13, curr_year));
|
||||
|
||||
assert_eq!(*card_exp.get_month().peek(), 3);
|
||||
assert_eq!(*card_exp.get_month().peek(), curr_month);
|
||||
assert_eq!(*card_exp.get_year().peek(), curr_year);
|
||||
assert!(!card_exp.is_expired().unwrap());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user