fix(test): align draft update mock return type with Channel trait
This commit is contained in:
parent
21696e1956
commit
4eddc70ae4
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user