mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Fix headless tests
This commit is contained in:
parent
5fd73795f6
commit
1f8abf2cf6
@ -23,7 +23,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
private SkinnableSound skinnableSound;
|
||||
|
||||
[SetUp]
|
||||
public void SetUp()
|
||||
public void SetUp() => Schedule(() =>
|
||||
{
|
||||
Children = new Drawable[]
|
||||
{
|
||||
@ -34,7 +34,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
Child = skinnableSound = new SkinnableSound(new SampleInfo("normal-sliderslide"))
|
||||
},
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
[Test]
|
||||
public void TestStoppedSoundDoesntResumeAfterPause()
|
||||
|
Loading…
Reference in New Issue
Block a user