mirror of
https://codeberg.org/demostf/api-client.git
synced 2026-06-03 08:34:15 +02:00
chat api is now always sorted already
This commit is contained in:
parent
fe8f1bd348
commit
a2a2a8a876
1 changed files with 1 additions and 2 deletions
|
|
@ -162,8 +162,7 @@ async fn test_get_demo() {
|
||||||
async fn test_get_chat() {
|
async fn test_get_chat() {
|
||||||
let client = test_client().await;
|
let client = test_client().await;
|
||||||
|
|
||||||
let mut chat = client.get_chat(1).await.unwrap();
|
let chat = client.get_chat(1).await.unwrap();
|
||||||
chat.sort_by(|a, b| a.time.cmp(&b.time));
|
|
||||||
|
|
||||||
assert_eq!(chat.len(), 134);
|
assert_eq!(chat.len(), 134);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue