From 2ee4f16dd7e21bb3df28fbe298f3799fce7a51c2 Mon Sep 17 00:00:00 2001 From: Chris Kruger Date: Sun, 24 Dec 2023 06:46:48 +0800 Subject: [PATCH] check card --- tests/customer.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/customer.rs b/tests/customer.rs index a176122..3834617 100644 --- a/tests/customer.rs +++ b/tests/customer.rs @@ -73,4 +73,6 @@ async fn customer_create_test() { assert_eq!(customer.company.unwrap(), "Pin Payments"); assert_eq!(customer.notes.unwrap(), "Account manager at Pin Payments"); assert_eq!(customer.created_at.unwrap(), datetime!(2012-06-22 6:27:33 UTC)); + assert_eq!(customer.card.token, "card_nytGw7koRg23EEp9NTmz9w"); + assert_eq!(customer.card.display_number, "XXXX-XXXX-XXXX-0000"); }