add version argument, move import to test body

Signed-off-by: strawberry <strawberry@pupbrain.dev>
This commit is contained in:
strawberry 2023-11-25 15:53:33 -05:00
parent 8fffb6ea04
commit 4d7b5eb759
2 changed files with 9 additions and 2 deletions

View file

@ -3,8 +3,6 @@ use std::io::Cursor;
pub use data::Data;
use base64::{engine::general_purpose, Engine as _};
use crate::{services, Result};
use image::imageops::FilterType;
@ -265,6 +263,8 @@ mod tests {
use sha2::Digest;
use base64::{engine::general_purpose, Engine as _};
use super::*;
struct MockedKVDatabase;