diff --git a/vit-servicing-station-tests/src/common/clients/mod.rs b/vit-servicing-station-tests/src/common/clients/mod.rs index 3559ef5e..578f5cad 100644 --- a/vit-servicing-station-tests/src/common/clients/mod.rs +++ b/vit-servicing-station-tests/src/common/clients/mod.rs @@ -1,5 +1,3 @@ -pub mod graphql; pub mod rest; -pub use graphql::GraphqlClient; pub use rest::{RestClient, RestError}; diff --git a/vit-servicing-station-tests/src/common/server.rs b/vit-servicing-station-tests/src/common/server.rs index f9823849..ec82262d 100644 --- a/vit-servicing-station-tests/src/common/server.rs +++ b/vit-servicing-station-tests/src/common/server.rs @@ -1,4 +1,4 @@ -use super::clients::{GraphqlClient, RestClient}; +use super::clients::RestClient; use super::logger::Logger; use std::path::PathBuf; use std::process::Child; @@ -33,16 +33,6 @@ impl Server { rest_client } - pub fn graphql_client(&self) -> GraphqlClient { - GraphqlClient::new(self.settings.address.to_string()) - } - - pub fn graphql_client_with_token(&self, token: &str) -> GraphqlClient { - let mut graphql_client = self.graphql_client(); - graphql_client.set_api_token(token.to_string()); - graphql_client - } - pub fn logger(&self) -> Logger { Logger::new(self.log_file.clone()) }