This commit is contained in:
Mikhail Kilin
2026-01-30 15:07:13 +03:00
parent 126c7482af
commit 4deb0fbe00
32 changed files with 1049 additions and 697 deletions

View File

@@ -34,13 +34,9 @@ fn test_search_chats_by_title() {
fn test_search_chats_by_username() {
let mut client = FakeTdClient::new();
let chat1 = TestChatBuilder::new("Alice", 123)
.username("alice")
.build();
let chat1 = TestChatBuilder::new("Alice", 123).username("alice").build();
let chat2 = TestChatBuilder::new("Bob", 456)
.username("bobby")
.build();
let chat2 = TestChatBuilder::new("Bob", 456).username("bobby").build();
let chat3 = TestChatBuilder::new("Charlie", 789).build(); // Без username