fix(test): align draft update mock return type with Channel trait
This commit is contained in:
+2
-2
@@ -4021,9 +4021,9 @@ mod tests {
|
||||
_recipient: &str,
|
||||
_message_id: &str,
|
||||
text: &str,
|
||||
) -> anyhow::Result<()> {
|
||||
) -> anyhow::Result<Option<String>> {
|
||||
self.draft_updates.lock().await.push(text.to_string());
|
||||
Ok(())
|
||||
Ok(None)
|
||||
}
|
||||
|
||||
async fn finalize_draft(
|
||||
|
||||
Reference in New Issue
Block a user