File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ impl TestContext {
269
269
let file_bytes = self
270
270
. link_resolver
271
271
. cat (
272
- & LinkResolverContext :: test ( ) ,
272
+ & LinkResolverContext :: new ( & deployment . hash , & logger ) ,
273
273
& deployment. hash . to_ipfs_link ( ) ,
274
274
)
275
275
. await
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ use crate::{
2
2
fixture:: { stores, Stores , TestInfo } ,
3
3
helpers:: run_cmd,
4
4
} ;
5
- use graph:: ipfs;
6
5
use graph:: prelude:: { DeploymentHash , SubgraphName } ;
6
+ use graph:: { ipfs, prelude:: MetricsRegistry } ;
7
7
use std:: process:: Command ;
8
8
pub struct RunnerTestRecipe {
9
9
pub stores : Stores ,
@@ -93,7 +93,7 @@ pub async fn build_subgraph_with_pnpm_cmd_and_arg(
93
93
// Test that IPFS is up.
94
94
ipfs:: IpfsRpcClient :: new (
95
95
ipfs:: ServerAddress :: local_rpc_api ( ) ,
96
- ipfs:: IpfsMetrics :: test ( ) ,
96
+ ipfs:: IpfsMetrics :: new ( & MetricsRegistry :: mock ( ) ) ,
97
97
& graph:: log:: discard ( ) ,
98
98
)
99
99
. await
You can’t perform that action at this time.
0 commit comments