@@ -55,6 +55,15 @@ const TEST_PROFILE_DATA: [u8; 448] = [
|
||||
0x0c, 0x00, 0x24, 0x00, 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
];
|
||||
|
||||
const TEST_PUBKEY: [u8; 32] = [
|
||||
0x32, 0xe1, 0x82, 0x76, 0x35, 0x45, 0x0e, 0xbb, 0x3c, 0x5a, 0x7d, 0x12, 0xc1, 0xf8, 0xe7, 0xb2,
|
||||
0xb5, 0x14, 0x43, 0x9a, 0xc1, 0x0a, 0x67, 0xee, 0xf3, 0xd9, 0xfd, 0x9c, 0x5c, 0x68, 0xe2, 0x45,
|
||||
];
|
||||
|
||||
pub fn test_pubkey() -> &'static [u8; 32] {
|
||||
&TEST_PUBKEY
|
||||
}
|
||||
|
||||
pub fn test_profile_record() -> ProfileRecord<'static> {
|
||||
ProfileRecord::new_owned(&TEST_PROFILE_DATA).unwrap()
|
||||
}
|
||||
@@ -83,7 +92,7 @@ pub fn get_test_accounts() -> Vec<UserAccount> {
|
||||
.collect()
|
||||
}
|
||||
|
||||
pub fn get_account_manager_test_app(is_mobile: bool) -> Damus {
|
||||
pub fn test_app(is_mobile: bool) -> Damus {
|
||||
let db_dir = Path::new(".");
|
||||
let path = db_dir.to_str().unwrap();
|
||||
let mut app = Damus::mock(path, is_mobile);
|
||||
|
||||
Reference in New Issue
Block a user