Skip to content

Commit afc7048

Browse files
committed
Get mock RPC tests working
1 parent 141608f commit afc7048

File tree

2 files changed

+92
-450
lines changed

2 files changed

+92
-450
lines changed

rpcs/src/client/mock_rpc_client.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ impl MockRpcClientBuilder {
179179

180180
/// A mock RPC client that responds programmatically to requests.
181181
/// Useful for testing.
182+
#[derive(Clone)]
182183
pub struct MockRpcClient {
183184
// These are all accessed for just long enough to call the method. The method
184185
// returns a future, but the method call itself isn't held for long.

0 commit comments

Comments
 (0)