summaryrefslogtreecommitdiffstats
path: root/rust/tests
diff options
context:
space:
mode:
Diffstat (limited to 'rust/tests')
-rw-r--r--rust/tests/test_api_server_http.rs8
-rw-r--r--rust/tests/test_old_python_tests.rs5
2 files changed, 3 insertions, 10 deletions
diff --git a/rust/tests/test_api_server_http.rs b/rust/tests/test_api_server_http.rs
index d975fe6e..5405c9cb 100644
--- a/rust/tests/test_api_server_http.rs
+++ b/rust/tests/test_api_server_http.rs
@@ -1553,9 +1553,7 @@ fn test_create_editgroup() {
// We're authenticated, so don't need to supply editor_id
check_http_response(
request::post(
- &format!(
- "http://localhost:9411/v0/editgroup",
- ),
+ &format!("http://localhost:9411/v0/editgroup",),
headers.clone(),
"{}",
&router,
@@ -1567,9 +1565,7 @@ fn test_create_editgroup() {
// But can if we want to
check_http_response(
request::post(
- &format!(
- "http://localhost:9411/v0/editgroup",
- ),
+ &format!("http://localhost:9411/v0/editgroup",),
headers.clone(),
r#"{"editor_id": "aaaaaaaaaaaabkvkaaaaaaaaae"}"#,
&router,
diff --git a/rust/tests/test_old_python_tests.rs b/rust/tests/test_old_python_tests.rs
index afeff55e..4fc1ffaf 100644
--- a/rust/tests/test_old_python_tests.rs
+++ b/rust/tests/test_old_python_tests.rs
@@ -199,10 +199,7 @@ fn test_merge_works() {
let mut eg = Editgroup::new();
eg.editor_id = Some(admin_id);
- let resp = client
- .create_editgroup(eg)
- .wait()
- .unwrap();
+ let resp = client.create_editgroup(eg).wait().unwrap();
let editgroup_id = match resp {
CreateEditgroupResponse::SuccessfullyCreated(eg) => eg.editgroup_id.unwrap(),
_ => unreachable!(),