perf(struct): ddd
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use hmac::{Hmac, Mac};
|
||||
use iam_service::application::services::{AuthService, TenantService};
|
||||
use iam_service::models::{CreateTenantRequest, CreateUserRequest, LoginRequest};
|
||||
use iam_service::services::{AuthService, TenantService};
|
||||
use sha2::Sha256;
|
||||
use sqlx::PgPool;
|
||||
use uuid::Uuid;
|
||||
@@ -12,8 +12,7 @@ fn fingerprint(pepper: &str, token: &str) -> String {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn refresh_token_rotate_and_expire_cases()
|
||||
-> Result<(), Box<dyn std::error::Error>> {
|
||||
async fn refresh_token_rotate_and_expire_cases() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let database_url = match std::env::var("DATABASE_URL") {
|
||||
Ok(v) if !v.trim().is_empty() => v,
|
||||
_ => return Ok(()),
|
||||
@@ -104,4 +103,3 @@ async fn refresh_token_rotate_and_expire_cases()
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user