remove typo in BatchContent variant

This commit is contained in:
ad hoc
2022-05-25 14:39:07 +02:00
parent 3015265bde
commit 6b2016b350
5 changed files with 12 additions and 12 deletions

View File

@@ -15,7 +15,7 @@ mod test {
pub fn task_to_batch(task: Task) -> Batch {
let content = match task.content {
TaskContent::DocumentAddition { .. } => {
BatchContent::DocumentAddtitionBatch(vec![task])
BatchContent::DocumentsAdditionBatch(vec![task])
}
TaskContent::DocumentDeletion(_)
| TaskContent::SettingsUpdate { .. }