Skip to content

Commit

Permalink
fix: e2e test secrecy import update
Browse files Browse the repository at this point in the history
  • Loading branch information
pnwatin committed Nov 2, 2024
1 parent d369ca3 commit a8b488f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use auth_server::{
};
use fake::{Fake, Faker};
use once_cell::sync::Lazy;
use secrecy::Secret;
use secrecy::SecretString;
use serde_json::{json, Value};
use sqlx::{Connection, Executor, PgConnection, PgPool};
use tracing_subscriber::EnvFilter;
Expand Down Expand Up @@ -47,7 +47,7 @@ impl TestApplication {

settings.database.database_name = Uuid::new_v4().to_string();
settings.application.port = 0;
settings.jwt.secret = Secret::new(Faker.fake());
settings.jwt.secret = SecretString::from(Faker.fake::<String>());

settings
};
Expand Down

0 comments on commit a8b488f

Please sign in to comment.