use crate::make_test_spot_pub;
use xapi_binance::data::order_book::BnGetOrderBookParams;
#[tokio::test]
async fn test_call_failure() -> anyhow::Result<()> {
let client = make_test_spot_pub();
let result = client
.get_order_book_ws(&BnGetOrderBookParams::builder().symbol("INVALID").build())
.await;
assert!(result.is_err());
Ok(())
}