1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:42:54 +08:00

Cleanup tests

This commit is contained in:
Krzysztof Gutkowski 2023-08-17 01:11:09 +02:00
parent 59abb59ee8
commit 046cc62db2

View File

@ -82,9 +82,10 @@ namespace osu.Game.Tests.Database
await new LegacyBeatmapImporter(new BeatmapImporter(storage, realm)).ImportFromStableAsync(stableStorage);
var set = realm.Realm.All<BeatmapSetInfo>();
var beatmapset = realm.Realm.All<BeatmapSetInfo>().First();
Assert.AreEqual(new DateTimeOffset(new DateTime(2000, 1, 1, 12, 0, 0, DateTimeKind.Utc)), set.First().DateAdded);
Assert.NotNull(beatmapset);
Assert.AreEqual(new DateTimeOffset(new DateTime(2000, 1, 1, 12, 0, 0, DateTimeKind.Utc)), beatmapset.DateAdded);
}
});
}