summaryrefslogtreecommitdiffstats
path: root/rust/tests/test_api_server.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-30 18:12:42 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-30 18:12:42 -0700
commit08f7f1642eb8380c5b00f6a54e4b29e55713effd (patch)
tree8e5d7b62d43fc2ec0c5a589c5b574c91c7591c36 /rust/tests/test_api_server.rs
parent473cf4244be5d2e8fce9b95d1a750cf538dfc74b (diff)
downloadfatcat-08f7f1642eb8380c5b00f6a54e4b29e55713effd.tar.gz
fatcat-08f7f1642eb8380c5b00f6a54e4b29e55713effd.zip
respect more flag for stats endpoint
Diffstat (limited to 'rust/tests/test_api_server.rs')
-rw-r--r--rust/tests/test_api_server.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/tests/test_api_server.rs b/rust/tests/test_api_server.rs
index ac03c3c1..b46367e0 100644
--- a/rust/tests/test_api_server.rs
+++ b/rust/tests/test_api_server.rs
@@ -509,6 +509,11 @@ fn test_stats() {
status::Ok,
Some("merged_editgroups"),
);
+ check_response(
+ request::get("http://localhost:9411/v0/stats?more=yes", headers, &router),
+ status::Ok,
+ Some("merged_editgroups"),
+ );
}
#[test]