summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp
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/buildtool/execution_api/bazel/bazel_cas_client.test.cpp
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/buildtool/execution_api/bazel/bazel_cas_client.test.cpp')
-rw-r--r--test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp b/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp
index 85a23590..4cd5e13b 100644
--- a/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp
+++ b/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp
@@ -32,7 +32,7 @@ TEST_CASE("Bazel internals: CAS Client", "[execution_api]") {
std::string instance_name{"remote-execution"};
std::string content("test");
- auto auth_config = TestAuthConfig::ReadAuthConfigFromEnvironment();
+ auto auth_config = TestAuthConfig::ReadFromEnvironment();
REQUIRE(auth_config);
// Create CAS client