Fix headless tests

This commit is contained in:
Dean Herbert 2020-07-27 19:03:21 +09:00
parent 5fd73795f6
commit 1f8abf2cf6
1 changed files with 2 additions and 2 deletions

View File

@ -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()