From 9f25c2b4bd1e600448512fa6c4553acb6a3d92d6 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 May 2019 15:01:30 -0700 Subject: make some XXX into TODO --- rust/src/endpoint_handlers.rs | 1 - rust/tests/test_api_server_http.rs | 2 +- rust/tests/test_auth.rs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'rust') diff --git a/rust/src/endpoint_handlers.rs b/rust/src/endpoint_handlers.rs index 5c22e21d..4253af45 100644 --- a/rust/src/endpoint_handlers.rs +++ b/rust/src/endpoint_handlers.rs @@ -37,7 +37,6 @@ macro_rules! entity_auto_batch_handler { let _clr: ChangelogRow = diesel::insert_into(changelog::table) .values((changelog::editgroup_id.eq(edit_context.editgroup_id.to_uuid()),)) .get_result(conn)?; - // XXX: edits.into_iter().map(|e| e.into_model()).collect() self.get_editgroup_handler(conn, editgroup_id) } } diff --git a/rust/tests/test_api_server_http.rs b/rust/tests/test_api_server_http.rs index d88af31c..c5ec8eca 100644 --- a/rust/tests/test_api_server_http.rs +++ b/rust/tests/test_api_server_http.rs @@ -863,7 +863,7 @@ fn test_post_release() { ); // TODO: "secret paper" // Bogus non-existant fields - /* XXX: doesn't fail + /* TODO: doesn't fail helpers::check_http_response( request::post( &format!("http://localhost:9411/v0/editgroup/{}/release", editgroup_id), diff --git a/rust/tests/test_auth.rs b/rust/tests/test_auth.rs index a9e7cbb0..c684490f 100644 --- a/rust/tests/test_auth.rs +++ b/rust/tests/test_auth.rs @@ -47,6 +47,6 @@ fn test_auth_db() { auth::revoke_tokens(&conn, editor_id).unwrap(); // verification should fail - // XXX: one-second slop breaks this + // TODO: one-second slop breaks this //assert!(c.parse_macaroon_token(&conn, &token, None).is_err()); } -- cgit v1.2.3