aboutsummaryrefslogtreecommitdiffstats
path: root/rust/tests
diff options
context:
space:
mode:
Diffstat (limited to 'rust/tests')
-rw-r--r--rust/tests/test_api_server.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/rust/tests/test_api_server.rs b/rust/tests/test_api_server.rs
index 01db031f..8eedfa2f 100644
--- a/rust/tests/test_api_server.rs
+++ b/rust/tests/test_api_server.rs
@@ -342,6 +342,16 @@ fn test_accept_editgroup() {
assert_eq!(c, 2);
check_response(
+ request::get(
+ &format!("http://localhost:9411/v0/editgroup/{}", editgroup_id),
+ headers.clone(),
+ &router,
+ ),
+ status::Ok,
+ None,
+ );
+
+ check_response(
request::post(
&format!("http://localhost:9411/v0/editgroup/{}/accept", editgroup_id),
headers.clone(),