mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix migration target having left over files potentially causing test failures
As seen at https://github.com/ppy/osu/pull/13831/checks?check_run_id=3025050324.
This commit is contained in:
@ -184,6 +184,9 @@ namespace osu.Game.Tests.NonVisual
|
|||||||
Assert.DoesNotThrow(() => osu.Migrate(customPath2));
|
Assert.DoesNotThrow(() => osu.Migrate(customPath2));
|
||||||
Assert.That(File.Exists(Path.Combine(customPath2, database_filename)));
|
Assert.That(File.Exists(Path.Combine(customPath2, database_filename)));
|
||||||
|
|
||||||
|
// some files may have been left behind for whatever reason, but that's not what we're testing here.
|
||||||
|
customPath = prepareCustomPath();
|
||||||
|
|
||||||
Assert.DoesNotThrow(() => osu.Migrate(customPath));
|
Assert.DoesNotThrow(() => osu.Migrate(customPath));
|
||||||
Assert.That(File.Exists(Path.Combine(customPath, database_filename)));
|
Assert.That(File.Exists(Path.Combine(customPath, database_filename)));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user