summaryrefslogtreecommitdiff
path: root/test/buildtool/common/repository_config.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/common/repository_config.test.cpp')
-rw-r--r--test/buildtool/common/repository_config.test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/buildtool/common/repository_config.test.cpp b/test/buildtool/common/repository_config.test.cpp
index 19ab25c2..bd2a0e0b 100644
--- a/test/buildtool/common/repository_config.test.cpp
+++ b/test/buildtool/common/repository_config.test.cpp
@@ -59,7 +59,8 @@ template <class T>
// Read graph from CAS
[[nodiscard]] auto ReadGraph(std::string const& hash) -> nlohmann::json {
auto& cas = LocalCAS<ObjectType::File>::Instance();
- auto blob = cas.BlobPath(ArtifactDigest{hash, /*does not matter*/ 0});
+ auto blob = cas.BlobPath(
+ ArtifactDigest{hash, /*does not matter*/ 0, /*is_tree=*/false});
REQUIRE(blob);
auto content = FileSystemManager::ReadFile(*blob);
REQUIRE(content);