mirror of
https://github.com/ppy/osu
synced 2024-12-13 02:17:32 +00:00
Fix failing tests due to ignoring the lookup ID
This commit is contained in:
parent
9226a67f16
commit
07a8ffa4aa
@ -89,13 +89,11 @@ namespace osu.Game.Tests.Visual.Online
|
||||
"pishifat"
|
||||
};
|
||||
|
||||
private int id;
|
||||
|
||||
protected override Task<User> ComputeValueAsync(int lookup, CancellationToken token = default)
|
||||
=> Task.FromResult(new User
|
||||
{
|
||||
Id = id++,
|
||||
Username = usernames[id % usernames.Length],
|
||||
Id = lookup++,
|
||||
Username = usernames[lookup % usernames.Length],
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user