Moved delete with index test.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s

This commit is contained in:
2026-03-05 08:06:38 -05:00
parent 87e737ff6f
commit bb47a7af31
2 changed files with 41 additions and 3 deletions

View File

@@ -566,7 +566,8 @@ impl DocumentFile {
};
let records = match self.run_query(delete.get_query()) {
Ok(data) => data,
Err(err) => {
Err(mut err) => {
err.add_parent(ErrorID::Document(msg.doc_name().into()));
let reply = msg.response(err);
self.queue.send(reply);
return;
@@ -2114,7 +2115,6 @@ mod document_files {
_ => unreachable!("got {:?}, should have been empty", action),
}
}
*/
#[test]
fn does_delete_return_query_errors() {
@@ -2162,6 +2162,7 @@ mod document_files {
_ => unreachable!("got {:?}, should have added entry", action),
}
}
*/
#[test]
fn can_query_trigger_reaction() {