mirror of
https://github.com/ppy/osu
synced 2025-01-11 16:49:39 +00: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:
parent
dbfeea9880
commit
887035c12e
@ -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)));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user