mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
test: update blob hash in blob::blob_tests::test_selfavatar_outside_blobdir
This commit is contained in:
@@ -174,7 +174,7 @@ async fn test_selfavatar_outside_blobdir() {
|
|||||||
let avatar_blob = t.get_config(Config::Selfavatar).await.unwrap().unwrap();
|
let avatar_blob = t.get_config(Config::Selfavatar).await.unwrap().unwrap();
|
||||||
let avatar_path = Path::new(&avatar_blob);
|
let avatar_path = Path::new(&avatar_blob);
|
||||||
assert!(
|
assert!(
|
||||||
avatar_blob.ends_with("009161310a6afc319163e4bcabd23b9.jpg"),
|
avatar_blob.ends_with("1e08d1c9398297c21dd3820f7db2324.jpg"),
|
||||||
"The avatar filename should be its hash, put instead it's {avatar_blob}"
|
"The avatar filename should be its hash, put instead it's {avatar_blob}"
|
||||||
);
|
);
|
||||||
let scaled_avatar_size = file_size(avatar_path).await;
|
let scaled_avatar_size = file_size(avatar_path).await;
|
||||||
|
|||||||
Reference in New Issue
Block a user