diff --git a/tests/e2e/environment.rs b/tests/e2e/environment.rs index 0ee8b55b..f8ae9ce4 100644 --- a/tests/e2e/environment.rs +++ b/tests/e2e/environment.rs @@ -82,7 +82,7 @@ impl TestEnv { /// Returns the server starting settings if the servers was already started. /// We do not know the settings until we start the server. pub fn server_settings(&self) -> Option { - self.starting_settings.as_ref().cloned() + self.starting_settings.clone() } /// Provides the API server socket address.