summaryrefslogtreecommitdiffstats
path: root/rust/tests/test_api_server_client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/tests/test_api_server_client.rs')
-rw-r--r--rust/tests/test_api_server_client.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/tests/test_api_server_client.rs b/rust/tests/test_api_server_client.rs
index 55b7edf4..0f2f6ad1 100644
--- a/rust/tests/test_api_server_client.rs
+++ b/rust/tests/test_api_server_client.rs
@@ -22,8 +22,8 @@ use helpers::setup_client;
// Disabled due to hang
//#[test]
fn test_basic() {
- let (client, mut server) = setup_client();
- let client = client.with_context(Context::new());
+ let (client, context, mut server) = setup_client();
+ let client = client.with_context(context);
client.get_changelog_entry(1).wait().unwrap();
server.close().unwrap()