mirror of https://github.com/ppy/osu
Update import skin test in line with new default
This commit is contained in:
parent
c8206b747b
commit
70d60a7e73
|
@ -202,7 +202,7 @@ public Task TestExportThenImportDefaultSkin() => runSkinTest(osu =>
|
|||
skinManager.CurrentSkinInfo.Value.PerformRead(s =>
|
||||
{
|
||||
Assert.IsFalse(s.Protected);
|
||||
Assert.AreEqual(typeof(TrianglesSkin), s.CreateInstance(skinManager).GetType());
|
||||
Assert.AreEqual(typeof(ArgonSkin), s.CreateInstance(skinManager).GetType());
|
||||
|
||||
new LegacySkinExporter(osu.Dependencies.Get<Storage>()).ExportModelTo(s, exportStream);
|
||||
|
||||
|
@ -215,7 +215,7 @@ public Task TestExportThenImportDefaultSkin() => runSkinTest(osu =>
|
|||
{
|
||||
Assert.IsFalse(s.Protected);
|
||||
Assert.AreNotEqual(originalSkinId, s.ID);
|
||||
Assert.AreEqual(typeof(TrianglesSkin), s.CreateInstance(skinManager).GetType());
|
||||
Assert.AreEqual(typeof(ArgonSkin), s.CreateInstance(skinManager).GetType());
|
||||
});
|
||||
|
||||
return Task.CompletedTask;
|
||||
|
|
Loading…
Reference in New Issue