Update import skin test in line with new default

This commit is contained in:
Dean Herbert 2022-09-19 17:18:14 +09:00
parent c8206b747b
commit 70d60a7e73
1 changed files with 2 additions and 2 deletions

View File

@ -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;