summaryrefslogtreecommitdiff
path: root/test/buildtool/serve_api/source_tree_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/serve_api/source_tree_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/serve_api/source_tree_client.test.cpp')
-rw-r--r--test/buildtool/serve_api/source_tree_client.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/buildtool/serve_api/source_tree_client.test.cpp b/test/buildtool/serve_api/source_tree_client.test.cpp
index 970d2aca..e1f6d84b 100644
--- a/test/buildtool/serve_api/source_tree_client.test.cpp
+++ b/test/buildtool/serve_api/source_tree_client.test.cpp
@@ -32,7 +32,7 @@ auto const kRootSymId = std::string{"18770dacfe14c15d88450c21c16668e13ab0e7f9"};
auto const kBazSymId = std::string{"1868f82682c290f0b1db3cacd092727eef1fa57f"};
TEST_CASE("Serve service client: tree-of-commit request", "[serve_api]") {
- auto config = TestServeConfig::ReadServeConfigFromEnvironment();
+ auto config = TestServeConfig::ReadFromEnvironment();
REQUIRE(config);
REQUIRE(config->remote_address);