aboutsummaryrefslogtreecommitdiffstats
path: root/rust/tests/test_api_server_client.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-08 16:28:27 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-08 16:28:27 -0800
commit16f2e78298dbd2231f5f337ea17c89a6a131a052 (patch)
tree6e72581e625e73c97cbab72d0f9c35665c99e5d7 /rust/tests/test_api_server_client.rs
parenteb40a5f274f3608db34309cfd16739a7642ef5e7 (diff)
parentffb721f90c5d97ee80885209bf45feb85ca9625c (diff)
downloadfatcat-16f2e78298dbd2231f5f337ea17c89a6a131a052.tar.gz
fatcat-16f2e78298dbd2231f5f337ea17c89a6a131a052.zip
Merge branch 'bnewbold-crude-auth'
Fixed a conflict in: python/fatcat_export.py
Diffstat (limited to 'rust/tests/test_api_server_client.rs')
-rw-r--r--rust/tests/test_api_server_client.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/rust/tests/test_api_server_client.rs b/rust/tests/test_api_server_client.rs
index e4ead507..0f2f6ad1 100644
--- a/rust/tests/test_api_server_client.rs
+++ b/rust/tests/test_api_server_client.rs
@@ -19,10 +19,11 @@ use fatcat_api_spec::{Api, ApiNoContext, Context, ContextWrapperExt, Future};
mod helpers;
use helpers::setup_client;
-#[test]
+// 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()