summaryrefslogtreecommitdiffstats
path: root/rust/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-25 19:42:39 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-25 19:42:39 -0700
commitf3523b1d900e19911bf0041ac1c75877b0bfc943 (patch)
tree4286885906e7758c4cf6625a369d17b96c4d8e62 /rust/tests
parentf653c4070a076306825501ddbc27c0634d0e1438 (diff)
downloadfatcat-f3523b1d900e19911bf0041ac1c75877b0bfc943.tar.gz
fatcat-f3523b1d900e19911bf0041ac1c75877b0bfc943.zip
return all edits for an editgroup GET
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(),