diff options
Diffstat (limited to 'test/utils/executor')
-rw-r--r-- | test/utils/executor/test_api_bundle.hpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/utils/executor/test_api_bundle.hpp b/test/utils/executor/test_api_bundle.hpp index 1661b8bf..97f917c4 100644 --- a/test/utils/executor/test_api_bundle.hpp +++ b/test/utils/executor/test_api_bundle.hpp @@ -16,18 +16,14 @@ #define INCLUDED_SRC_TEST_UTILS_EXECUTOR_TEST_API_BUNDLE_HPP #include "gsl/gsl" -#include "src/buildtool/crypto/hash_function.hpp" #include "src/buildtool/execution_api/common/api_bundle.hpp" #include "src/buildtool/execution_api/common/execution_api.hpp" /// \brief Creates an ApiBundle that contains a given IExecutionApi -/// implementation. As only the hash_function field is actually needed, the -/// remote_context and repo_config are not needed to be provided. +/// implementation. [[nodiscard]] static auto CreateTestApiBundle( - HashFunction hash_function, gsl::not_null<IExecutionApi::Ptr> const& api) noexcept -> ApiBundle { - return ApiBundle{ - .hash_function = hash_function, .local = api, .remote = api}; + return ApiBundle{.local = api, .remote = api}; } #endif // INCLUDED_SRC_TEST_UTILS_EXECUTOR_TEST_API_BUNDLE_HPP |