From c30dc77b2801c4879f3cbfa65bff45ddba766ac2 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 25 Oct 2017 22:25:28 +0900 Subject: [PATCH] Unique MD5s for unit test --- osu.Game.Tests/Visual/TestCasePlaySongSelect.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/osu.Game.Tests/Visual/TestCasePlaySongSelect.cs b/osu.Game.Tests/Visual/TestCasePlaySongSelect.cs index a722974c07..37dd60a25c 100644 --- a/osu.Game.Tests/Visual/TestCasePlaySongSelect.cs +++ b/osu.Game.Tests/Visual/TestCasePlaySongSelect.cs @@ -3,8 +3,11 @@ using System; using System.Collections.Generic; +using System.IO; using System.Linq; +using System.Text; using osu.Framework.Allocation; +using osu.Framework.Extensions; using osu.Framework.MathUtils; using osu.Game.Beatmaps; using osu.Game.Database; @@ -61,7 +64,7 @@ namespace osu.Game.Tests.Visual return new BeatmapSetInfo { OnlineBeatmapSetID = 1234 + i, - Hash = "d8e8fca2dc0f896fd7cb4cb0031ba249", + Hash = new MemoryStream(Encoding.UTF8.GetBytes(Guid.NewGuid().ToString())).ComputeMD5Hash(), Metadata = new BeatmapMetadata { OnlineBeatmapSetID = 1234 + i,