mirror of https://github.com/ppy/osu
Add comment explaining test expectations
This commit is contained in:
parent
3d4d87bcb2
commit
6aa84425a2
|
@ -49,6 +49,11 @@ public async Task TestImportWithNoBeatmaps()
|
|||
|
||||
Assert.That(osu.CollectionManager.Collections.Count, Is.EqualTo(2));
|
||||
|
||||
// Even with no beatmaps imported, collections are tracking the hashes and will continue to.
|
||||
// In the future this whole mechanism will be replaced with having the collections in realm,
|
||||
// but until that happens it makes rough sense that we want to track not-yet-imported beatmaps
|
||||
// and have them associate with collections if/when they become available.
|
||||
|
||||
Assert.That(osu.CollectionManager.Collections[0].Name.Value, Is.EqualTo("First"));
|
||||
Assert.That(osu.CollectionManager.Collections[0].Beatmaps.Count, Is.EqualTo(1));
|
||||
|
||||
|
|
Loading…
Reference in New Issue