summaryrefslogtreecommitdiff
path: root/test/utils/remote_execution/test_auth_config.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-12 09:56:36 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-16 17:51:12 +0200
commited0cd750a98a9334f95d99a5ba4ce3abe17538f1 (patch)
tree371a81a9c211cb103ff4e768ccace131f32ee5ee /test/utils/remote_execution/test_auth_config.hpp
parent0d65f1285899230497fa50efdaf4387092c08d61 (diff)
downloadjustbuild-ed0cd750a98a9334f95d99a5ba4ce3abe17538f1.tar.gz
test: Reduce verbosity in config methods
As the classes describe the config type, their static creators can have generic names, which reduces unnecessary verbosity.
Diffstat (limited to 'test/utils/remote_execution/test_auth_config.hpp')
-rw-r--r--test/utils/remote_execution/test_auth_config.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/remote_execution/test_auth_config.hpp b/test/utils/remote_execution/test_auth_config.hpp
index fd157f22..2f5cca25 100644
--- a/test/utils/remote_execution/test_auth_config.hpp
+++ b/test/utils/remote_execution/test_auth_config.hpp
@@ -26,7 +26,7 @@
class TestAuthConfig final {
public:
- [[nodiscard]] static auto ReadAuthConfigFromEnvironment() noexcept
+ [[nodiscard]] static auto ReadFromEnvironment() noexcept
-> std::optional<Auth> {
Auth::TLS::Builder tls_builder;
auto config = tls_builder.SetCACertificate(ReadTLSAuthCACertFromEnv())