Moved missing fields add test to lib.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user