1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 05:19:55 +08:00

Fix incorrect mock setup after refactor

This commit is contained in:
Bartłomiej Dach
2023-06-08 10:09:27 +02:00
Unverified
parent a842f79ad4
commit 079e687bee
@@ -131,7 +131,7 @@ namespace osu.Game.Tests.Editing.Checks
var mock = new Mock<IWorkingBeatmap>();
mock.SetupGet(w => w.Beatmap).Returns(beatmap);
mock.SetupGet(w => w.GetBackground()).Returns(background);
mock.Setup(w => w.GetBackground()).Returns(background);
mock.Setup(w => w.GetStream(It.IsAny<string>())).Returns(stream);
return mock;