diff --git a/test/misskey_users_test.dart b/test/misskey_users_test.dart index 3cedece..c2a2245 100644 --- a/test/misskey_users_test.dart +++ b/test/misskey_users_test.dart @@ -115,13 +115,18 @@ void main() async { }); }); - test("search-by-username-and-host", () async { - final response = await userClient.users.searchByUsernameAndHost( - UsersSearchByUsernameAndHostRequest(username: user.username, host: "."), - ); - expect(response.map((e) => e.id), contains(user.id)); - expect(response, everyElement(isA())); - }); + test( + "search-by-username-and-host", + () async { + await userClient.createNote(); + final response = await userClient.users.searchByUsernameAndHost( + UsersSearchByUsernameAndHostRequest(username: user.username, host: "."), + ); + expect(response.map((e) => e.id), contains(user.id)); + expect(response, everyElement(isA())); + }, + retry: 3, + ); test( "recommendation",