mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 01:32:55 +08:00
Revert and fix some tests still
This commit is contained in:
parent
f5b0198077
commit
139fb2cdd3
@ -7,7 +7,6 @@ using osu.Framework.Input;
|
||||
using osu.Framework.Testing;
|
||||
using osu.Framework.Utils;
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Rulesets.Objects;
|
||||
using osu.Game.Rulesets.Osu.Objects;
|
||||
using osu.Game.Rulesets.UI;
|
||||
using osu.Game.Screens.Edit;
|
||||
@ -30,7 +29,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
|
||||
|
||||
private Slider? slider => editorBeatmap.HitObjects.OfType<Slider>().FirstOrDefault();
|
||||
|
||||
private TimelineHitObjectBlueprint blueprint => editor.ChildrenOfType<TimelineHitObjectBlueprint>().FirstOrDefault(b => b.Item.GetEndTime() != b.Item.StartTime)!;
|
||||
private TimelineHitObjectBlueprint blueprint => editor.ChildrenOfType<TimelineHitObjectBlueprint>().FirstOrDefault()!;
|
||||
|
||||
private DifficultyPointPiece difficultyPointPiece => blueprint.ChildrenOfType<DifficultyPointPiece>().First();
|
||||
|
||||
|
@ -12,7 +12,6 @@ using osu.Framework.Audio;
|
||||
using osu.Framework.Audio.Sample;
|
||||
using osu.Framework.Audio.Track;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Development;
|
||||
using osu.Framework.Extensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Screens;
|
||||
@ -201,7 +200,7 @@ namespace osu.Game.Screens.Menu
|
||||
PrepareMenuLoad();
|
||||
LoadMenu();
|
||||
|
||||
if (!Debugger.IsAttached && !DebugUtils.IsNUnitRunning)
|
||||
if (!Debugger.IsAttached)
|
||||
{
|
||||
notifications.Post(new SimpleErrorNotification
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user