mirror of https://github.com/ppy/osu
Fix headless tests
This commit is contained in:
parent
5fd73795f6
commit
1f8abf2cf6
|
@ -23,7 +23,7 @@ public class TestSceneSkinnableSound : OsuTestScene
|
|||
private SkinnableSound skinnableSound;
|
||||
|
||||
[SetUp]
|
||||
public void SetUp()
|
||||
public void SetUp() => Schedule(() =>
|
||||
{
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
@ -34,7 +34,7 @@ public void SetUp()
|
|||
Child = skinnableSound = new SkinnableSound(new SampleInfo("normal-sliderslide"))
|
||||
},
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
[Test]
|
||||
public void TestStoppedSoundDoesntResumeAfterPause()
|
||||
|
|
Loading…
Reference in New Issue