commit
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user