diff --git a/editoast/src/views/test_app.rs b/editoast/src/views/test_app.rs index 247d69724ac..411cd04a84e 100644 --- a/editoast/src/views/test_app.rs +++ b/editoast/src/views/test_app.rs @@ -292,7 +292,6 @@ impl TestAppBuilder { TestApp { server, db_pool: db_pool_v2, - core_client, tracing_guard, } } @@ -305,17 +304,11 @@ impl TestAppBuilder { pub(crate) struct TestApp { server: TestServer, db_pool: Arc, - core_client: Arc, #[allow(unused)] // included here to extend its lifetime, not meant to be used in any way tracing_guard: tracing::subscriber::DefaultGuard, } impl TestApp { - #[allow(dead_code)] // while the pool migration is ongoing - pub fn core_client(&self) -> Arc { - self.core_client.clone() - } - pub fn db_pool(&self) -> Arc { self.db_pool.clone() }