test all_connections with Nones
This commit is contained in:
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,
|
||||
|
Loading…
Reference in New Issue
Block a user