mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 07:42:58 +08:00
Reset audio offset before each test run in TestSceneMasterGameplayClockContainer
This commit is contained in:
parent
fbf0e5a45c
commit
c8db7cf2a8
@ -26,6 +26,12 @@ namespace osu.Game.Tests.Gameplay
|
||||
Dependencies.Cache(localConfig = new OsuConfigManager(LocalStorage));
|
||||
}
|
||||
|
||||
[SetUpSteps]
|
||||
public void SetUpSteps()
|
||||
{
|
||||
AddStep("reset audio offset", () => localConfig.SetValue(OsuSetting.AudioOffset, 0.0));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestStartThenElapsedTime()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user