Skip to content

Commit

Permalink
Use a more obvious UUID when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AzureMarker committed Jul 13, 2020
1 parent 3d0dc28 commit 14abb92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoendpoint/src/server/extractors/notification_headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,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);
Expand Down
2 changes: 1 addition & 1 deletion autoendpoint/src/server/routers/fcm/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 14abb92

Please sign in to comment.