mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Replace a couple more local test beatmap cases which can instead use TestResources
methods
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NUnit.Framework;
|
||||
@ -17,7 +16,6 @@ using osu.Game.Beatmaps;
|
||||
using osu.Game.Database;
|
||||
using osu.Game.Graphics.Cursor;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Models;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
using osu.Game.Online.Leaderboards;
|
||||
using osu.Game.Overlays;
|
||||
@ -60,20 +58,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
Anchor = Anchor.Centre,
|
||||
Size = new Vector2(550f, 450f),
|
||||
Scope = BeatmapLeaderboardScope.Local,
|
||||
BeatmapInfo = new BeatmapInfo
|
||||
{
|
||||
ID = Guid.NewGuid(),
|
||||
Metadata = new BeatmapMetadata
|
||||
{
|
||||
Title = "TestSong",
|
||||
Artist = "TestArtist",
|
||||
Author = new RealmUser
|
||||
{
|
||||
Username = "TestAuthor"
|
||||
},
|
||||
},
|
||||
DifficultyName = "Insane"
|
||||
},
|
||||
BeatmapInfo = TestResources.CreateTestBeatmapSetInfo().Beatmaps.First()
|
||||
}
|
||||
},
|
||||
dialogOverlay = new DialogOverlay()
|
||||
|
Reference in New Issue
Block a user