From aa518b70d849bd93c46a553a545ee4a625853846 Mon Sep 17 00:00:00 2001 From: Corentin LEMAIRE Date: Sun, 14 May 2023 19:12:50 +0200 Subject: [PATCH] Fix test issue --- Sources/Model/Album.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Model/Album.cs b/Sources/Model/Album.cs index 2ca3032..8ff0fd0 100644 --- a/Sources/Model/Album.cs +++ b/Sources/Model/Album.cs @@ -115,7 +115,7 @@ namespace Model public override bool Equals(object? obj) { if (obj is null) return false; - if (obj.GetType() != typeof(Artist)) return false; + if (obj.GetType() != typeof(Album)) return false; if (obj is Album album && ImageURL == album.ImageURL) return true; else return false; }