Tests: drop an unused undelete test helper

This commit is contained in:
2026-09-18 22:27:19 -07:00
parent 0bc6b03dcd
commit 725fbe7ec7
-19
View File
@@ -831,25 +831,6 @@ impl Account {
.await; .await;
} }
async fn inbox_ids(&self) -> Vec<String> {
self.jmap_method_call(
"Email/query",
json!({
"accountId": self.id_string(),
"filter": {"inMailbox": Id::from(INBOX_ID).to_string()}
}),
)
.await
.method_response()["ids"]
.as_array()
.map(|ids| {
ids.iter()
.map(|id| id.as_str().unwrap().to_string())
.collect()
})
.unwrap_or_default()
}
async fn emails_with_subject(&self, subject: &str) -> Vec<Value> { async fn emails_with_subject(&self, subject: &str) -> Vec<Value> {
let response = self let response = self
.jmap_method_calls(json!([ .jmap_method_calls(json!([