fixup after rebase

This commit is contained in:
Aiden McClelland
2023-03-09 15:02:09 -07:00
parent 5e9e26fa67
commit 18922a1c6d
24 changed files with 40 additions and 779 deletions

View File

@@ -236,7 +236,7 @@ mod tests {
use tokio::sync::watch;
struct OsApiMock {
config_callbacks: (watch::Sender<Vec<Callback>>, watch::Sender<Vec<Callback>>),
config_callbacks: watch::Sender<Vec<Callback>>,
}
impl Default for OsApiMock {
fn default() -> Self {
@@ -974,7 +974,7 @@ mod tests {
continue;
}
api.config_callbacks.send_modify(|x| {
x[0](json!("This is something across the wire!"))
x[0].call(vec![json!("This is something across the wire!")])
.map_err(|e| format!("Failed call"))
.unwrap();
});