Skip to content

Commit 3ce1f6c

Browse files
committed
graph(ipfs-tests): task 3 — make recipe.rs derive IPFS_URI from ServerAddress::test_rpc_api()
1 parent 48b875a commit 3ce1f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/recipe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ pub async fn build_subgraph_with_pnpm_cmd_and_arg(
110110
let deploy_output = run_cmd(
111111
Command::new("pnpm")
112112
.args(&args)
113-
.env("IPFS_URI", "http://127.0.0.1:5001")
113+
.env("IPFS_URI", ipfs::ServerAddress::test_rpc_api().to_string())
114114
.env("GRAPH_NODE_ADMIN_URI", "http://localhost:0")
115115
.current_dir(dir),
116116
);

0 commit comments

Comments
 (0)