test all_connections with Nones

This commit is contained in:
Bryan Stitt 2023-03-01 22:50:44 +00:00
parent f68886fafd
commit fdba8e7864

@ -1822,6 +1822,18 @@ mod tests {
debug!("all_connections: {:#?}", all_connections);
assert_eq!(
all_connections.unwrap().len(),
2,
"wrong number of connections"
);
let all_connections = rpcs
.all_connections(&authorization, None, None, None, false)
.await;
debug!("all_connections: {:#?}", all_connections);
assert_eq!(
all_connections.unwrap().len(),
2,