TestMigration
Fixes failures as seen at https://github.com/ppy/osu/runs/4927916031?check_suite_focus=true.
CleanRunHeadlessGameHost
CustomDataDirectoryTest
Resolves test failures like https://github.com/ppy/osu/runs/4592088736?check_suite_focus=true.
var
TestRunHeadlessGameHost
As seen at https://github.com/ppy/osu/pull/13831/checks?check_run_id=3025050324.
# Conflicts: # osu.Game/IO/OsuStorage.cs
Now asserting instead of an if-statement, change cast from OsuStorage to MigratableStorage and make internal virtual properties protected.
Was too excited to add blank lines before submitting the PR that I overdid it
Using `Environment.CurrentDirectory` for storing / reading files is dangerous as the current directory is mutable and can be changed when performing a certain operation (like opening solutions in roslyn type reference builder for example).
This reverts commit ef8375b442.
ef8375b442