mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:42:54 +08:00
Cleanup tests
This commit is contained in:
parent
59abb59ee8
commit
046cc62db2
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user