1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:07:52 +08: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:
Dean Herbert 2021-07-09 12:21:24 +09:00
parent dbfeea9880
commit 887035c12e

View File

@ -184,6 +184,9 @@ namespace osu.Game.Tests.NonVisual
Assert.DoesNotThrow(() => osu.Migrate(customPath2));
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.That(File.Exists(Path.Combine(customPath, database_filename)));
}