Skip to content

Commit

Permalink
chore: Make test container builder methods private (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
spencewenski authored Nov 13, 2024
1 parent 4825937 commit f45a12e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ impl AppContext {
}

#[cfg(all(feature = "db-sql", feature = "test-containers"))]
pub async fn db_test_container(
#[cfg_attr(test, allow(dead_code))]
async fn db_test_container(
config: &mut AppConfig,
) -> RoadsterResult<
Option<
Expand Down Expand Up @@ -235,7 +236,8 @@ pub async fn db_test_container(
}

#[cfg(all(feature = "sidekiq", feature = "test-containers"))]
pub async fn sidekiq_redis_test_container(
#[cfg_attr(test, allow(dead_code))]
async fn sidekiq_redis_test_container(
config: &mut AppConfig,
) -> RoadsterResult<
Option<
Expand Down

0 comments on commit f45a12e

Please sign in to comment.