1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:52:57 +08:00

Remove usage of no longer needed property

This commit is contained in:
David Zhao 2019-08-01 21:26:52 +09:00 committed by GitHub
parent f0941a11b5
commit 6ab9f645a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,14 +97,14 @@ namespace osu.Game.Tests.Visual.Menus
[Test]
public void TestExitMultiWithEscape()
{
pushAndConfirm(() => new TestMultiplayer(), "multiplayer");
pushAndConfirm(() => new Screens.Multi.Multiplayer(), "multiplayer");
exitViaEscapeAndConfirm();
}
[Test]
public void TestExitMultiWithBackButton()
{
pushAndConfirm(() => new TestMultiplayer(), "multiplayer");
pushAndConfirm(() => new Screens.Multi.Multiplayer(), "multiplayer");
exitViaBackButtonAndConfirm();
}
@ -177,11 +177,6 @@ namespace osu.Game.Tests.Visual.Menus
public ModSelectOverlay ModSelectOverlay => ModSelect;
}
private class TestMultiplayer : Screens.Multi.Multiplayer
{
protected override bool RequireOnline => false;
}
private class TestLoader : Loader
{
protected override ShaderPrecompiler CreateShaderPrecompiler() => new TestShaderPrecompiler();