From 64c6f5f5a85505b22c860b7173e5b4faba4ebabc Mon Sep 17 00:00:00 2001 From: Mark Drobnak Date: Mon, 13 Jul 2020 09:45:31 -0400 Subject: [PATCH] Use a more obvious UUID when testing --- autoendpoint/src/server/extractors/notification_headers.rs | 2 +- autoendpoint/src/server/routers/fcm/router.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoendpoint/src/server/extractors/notification_headers.rs b/autoendpoint/src/server/extractors/notification_headers.rs index 796c5cf2e..b4528d70d 100644 --- a/autoendpoint/src/server/extractors/notification_headers.rs +++ b/autoendpoint/src/server/extractors/notification_headers.rs @@ -245,7 +245,7 @@ mod tests { assert!(result.is_err()); let error = match result.unwrap_err().kind { ApiErrorKind::InvalidEncryption(error) => error, - _ => panic!("Expected an ecryption error"), + _ => panic!("Expected an encryption error"), }; assert_eq!(error, expected_error); diff --git a/autoendpoint/src/server/routers/fcm/router.rs b/autoendpoint/src/server/routers/fcm/router.rs index 525fec1df..4280ea7af 100644 --- a/autoendpoint/src/server/routers/fcm/router.rs +++ b/autoendpoint/src/server/routers/fcm/router.rs @@ -227,7 +227,7 @@ mod tests { use uuid::Uuid; const FCM_TOKEN: &str = "test-token"; - const CHANNEL_ID: &str = "4530d3a6-13f9-4639-87f9-2ff731824f34"; + const CHANNEL_ID: &str = "deadbeef-13f9-4639-87f9-2ff731824f34"; /// Get the test channel ID as a Uuid fn channel_id() -> Uuid {