From 7632129c594b9edbae8ee9ba5da6ae35d1af2429 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 9 Jan 2019 18:30:48 -0800 Subject: refactor: FatCatId -> FatcatId --- rust/tests/test_auth.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rust/tests/test_auth.rs') diff --git a/rust/tests/test_auth.rs b/rust/tests/test_auth.rs index d93051f2..c0d81753 100644 --- a/rust/tests/test_auth.rs +++ b/rust/tests/test_auth.rs @@ -1,5 +1,5 @@ use fatcat::auth::AuthConfectionary; -use fatcat::identifiers::FatCatId; +use fatcat::identifiers::FatcatId; use fatcat::{auth, server}; use std::str::FromStr; @@ -8,7 +8,7 @@ fn test_macaroons() { // Test everything we can without connecting to database let c = AuthConfectionary::new_dummy(); - let editor_id = FatCatId::from_str("q3nouwy3nnbsvo3h5klxsx4a7y").unwrap(); + let editor_id = FatcatId::from_str("q3nouwy3nnbsvo3h5klxsx4a7y").unwrap(); // create token w/o expiration c.create_token(editor_id, None).unwrap(); @@ -25,7 +25,7 @@ fn test_auth_db() { let server = server::create_test_server().unwrap(); let conn = server.db_pool.get().expect("db_pool error"); let c = AuthConfectionary::new_dummy(); - let editor_id = FatCatId::from_str("aaaaaaaaaaaabkvkaaaaaaaaae").unwrap(); + let editor_id = FatcatId::from_str("aaaaaaaaaaaabkvkaaaaaaaaae").unwrap(); // create token let token = c.create_token(editor_id, None).unwrap(); -- cgit v1.2.3