tables data tests are now generalized, needs a bit more fixes, 6/6 are passing

This commit is contained in:
filipriec
2025-06-22 16:10:24 +02:00
parent 2a14eadf34
commit 1b8f19f1ce
5 changed files with 310 additions and 104 deletions

View File

@@ -30,7 +30,7 @@ pub async fn setup_isolated_db() -> PgPool {
.duration_since(std::time::UNIX_EPOCH)
.unwrap()
.as_nanos(),
rand::thread_rng()
rand::rng()
.sample_iter(&Alphanumeric)
.take(8)
.map(char::from)