We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 896ae4d commit 57cb528Copy full SHA for 57cb528
crates/service/tests/router_test.rs
@@ -29,12 +29,7 @@ async fn full_integration_test(database: PgPool) {
29
.build()
30
.expect("Failed to init HTTP client");
31
32
- let allocation = INDEXER_ALLOCATIONS
33
- .values()
34
- .collect::<Vec<_>>()
35
- .pop()
36
- .unwrap()
37
- .clone();
+ let allocation = INDEXER_ALLOCATIONS.values().next().unwrap().clone();
38
let deployment = allocation.subgraph_deployment.id;
39
40
let mock_server = MockServer::start().await;
0 commit comments