Reuse custom_tournament where it was still used as a literal

This commit is contained in:
Shivam 2020-06-25 20:36:55 +02:00
parent 47a732ef60
commit d82d901542
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public void TestCustomDirectory()
storage = osu.Dependencies.Get<Storage>();
Assert.That(storage.GetFullPath("."), Is.EqualTo(Path.Combine(tournamentBasePath(nameof(TestCustomDirectory)), "custom")));
Assert.That(storage.GetFullPath("."), Is.EqualTo(Path.Combine(tournamentBasePath(nameof(TestCustomDirectory)), custom_tournament)));
}
finally
{
@ -80,6 +80,7 @@ public void TestMigration()
// Recreate the old setup that uses "tournament" as the base path.
string oldPath = Path.Combine(osuRoot, "tournament");
string videosPath = Path.Combine(oldPath, "videos");
string modsPath = Path.Combine(oldPath, "mods");
string flagsPath = Path.Combine(oldPath, "flags");