Moved missing fields add test to lib.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s

This commit is contained in:
2026-02-27 12:22:57 -05:00
parent 632332298d
commit 8d0b149b31
4 changed files with 117 additions and 14 deletions

View File

@@ -500,8 +500,6 @@ impl DocumentFile {
};
let mut holder = InternalRecord::new();
let mut field_ids = self.docdef.get_field_ids();
for (name, value) in addition.iter() {
let field_id = match self.docdef.get_field_id(name) {
@@ -1187,7 +1185,6 @@ mod document_files {
_ => unreachable!("got {:?}: should have been an error", result.get_action()),
}
}
*/
#[test]
fn errors_on_missing_fields() {
@@ -1206,6 +1203,7 @@ mod document_files {
_ => unreachable!("got {:?}: should have been an error", result.get_action()),
}
}
*/
#[test]
fn does_query_return_related_entries() {