summaryrefslogtreecommitdiffstats
path: root/rust/tests/helpers.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-11 17:48:10 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-11 17:48:10 -0800
commit97b8c43dff9dd1bb86cc66c9ab71c6df17956579 (patch)
treee1eedb75756825a2d84ecbd26de9dc0e910b4ed3 /rust/tests/helpers.rs
parent2ee844b75c611ae32f40f1d65dcb00f3de553240 (diff)
downloadfatcat-97b8c43dff9dd1bb86cc66c9ab71c6df17956579.tar.gz
fatcat-97b8c43dff9dd1bb86cc66c9ab71c6df17956579.zip
minimal crude rust tests for new endpoints
Diffstat (limited to 'rust/tests/helpers.rs')
-rw-r--r--rust/tests/helpers.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/tests/helpers.rs b/rust/tests/helpers.rs
index 6f12faaa..f4cd93e9 100644
--- a/rust/tests/helpers.rs
+++ b/rust/tests/helpers.rs
@@ -94,6 +94,7 @@ pub fn check_http_response(
}
}
+#[allow(dead_code)]
pub fn quick_editgroup(conn: &server::DbConn) -> FatcatId {
let editor_id = FatcatId::from_str(TEST_ADMIN_EDITOR_ID).unwrap();
let eg = Editgroup {
@@ -102,7 +103,7 @@ pub fn quick_editgroup(conn: &server::DbConn) -> FatcatId {
editor: None,
changelog_index: None,
submitted: None,
- description: None,
+ description: Some("quick test editgroup".to_string()),
extra: None,
annotations: None,
edits: None,