test for listing with unknown user id

This commit is contained in:
Robin Appelman 2022-05-07 15:25:58 +02:00
commit 5b750c7dd7
3 changed files with 333 additions and 326 deletions

View file

@ -294,6 +294,18 @@ async fn main() -> Result<()> {
})
.await?;
test.step("list unknown player filter", |client| async move {
let list = client
.list(
ListParams::default().with_players(vec![76561197992320000]),
1,
)
.await?;
assert_eq(list.len(), 0)?;
Ok(())
})
.await?;
test.step("list player and map filter", |client| async move {
let list = client
.list(