test: update hash of file (changed at source)

This commit is contained in:
Helmut K. C. Tessarek 2024-03-05 23:22:28 -05:00
parent 12f0e8f3a7
commit c6b4a41dd9
No known key found for this signature in database
GPG Key ID: BE0985349D44DD00
2 changed files with 2 additions and 2 deletions

View File

@ -487,7 +487,7 @@ mod tests {
.get_path(&config.server.upload_path)
.join(file_name);
assert_eq!(
"8c712905b799905357b8202d0cb7a244cefeeccf7aa5eb79896645ac50158ffa",
"70ff72a2f7651b5fae3aa9834e03d2a2233c52036610562f7fa04e089e8198ed",
util::sha256_digest(&*paste.data)?
);
fs::remove_file(file_path)?;

View File

@ -1059,7 +1059,7 @@ mod tests {
let body = response.into_body();
let body_bytes = actix_web::body::to_bytes(body).await?;
assert_eq!(
"8c712905b799905357b8202d0cb7a244cefeeccf7aa5eb79896645ac50158ffa",
"70ff72a2f7651b5fae3aa9834e03d2a2233c52036610562f7fa04e089e8198ed",
util::sha256_digest(&*body_bytes)?
);