mirror of
https://codeberg.org/demostf/api-test.git
synced 2026-06-03 17:44:07 +02:00
test for listing with unknown user id
This commit is contained in:
parent
0337df8834
commit
5b750c7dd7
3 changed files with 333 additions and 326 deletions
12
src/main.rs
12
src/main.rs
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue