Don't attempt to resolve mainnet-beta in the test suite (#10328) (#10334)

automerge
This commit is contained in:
mergify[bot]
2020-05-29 20:01:26 -07:00
committed by GitHub
parent 4dd6591bfd
commit 1964c6ec29

View File

@ -3241,6 +3241,7 @@ mod tests {
// Success cases
let mut config = CliConfig::default();
config.rpc_client = Some(RpcClient::new_mock("succeeds".to_string()));
config.json_rpc_url = "http://127.0.0.1:8899".to_string();
let keypair = Keypair::new();
let pubkey = keypair.pubkey().to_string();