treewide: cleanup

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia01590cdeed872cc8ebd16f6ca95f3cc6a6a6964
This commit is contained in:
raf 2026-03-11 17:23:51 +03:00
commit 185e3b562a
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
16 changed files with 258 additions and 219 deletions

View file

@ -962,7 +962,15 @@ async fn test_batch_update_media_single_field() {
storage.insert_media(&item).await.unwrap();
let count = storage
.batch_update_media(&[item.id], Some("Bulk Title"), None, None, None, None, None)
.batch_update_media(
&[item.id],
Some("Bulk Title"),
None,
None,
None,
None,
None,
)
.await
.unwrap();
assert_eq!(count, 1);
@ -1021,7 +1029,15 @@ async fn test_batch_update_media_subset_of_items() {
// Only update item_a.
let count = storage
.batch_update_media(&[item_a.id], Some("Only A"), None, None, None, None, None)
.batch_update_media(
&[item_a.id],
Some("Only A"),
None,
None,
None,
None,
None,
)
.await
.unwrap();
assert_eq!(count, 1);