Use unified filename for background and track during editor import

This commit is contained in:
Salman Ahmed
2022-06-15 09:02:48 +03:00
parent 674a9bb399
commit f3f0960335
2 changed files with 20 additions and 12 deletions

View File

@ -101,6 +101,9 @@ namespace osu.Game.Tests.Visual.Editing
File.Delete(temp);
Directory.Delete(extractedFolder, true);
// ensure audio file is copied to beatmap as "audio.mp3" rather than original filename.
Assert.That(Beatmap.Value.Metadata.AudioFile == "audio.mp3");
return success;
});