Fix test issue
continuous-integration/drone/push Build is passing Details

pull/16/head
Corentin LEMAIRE 2 years ago
parent 6b5fa02017
commit aa518b70d8

@ -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;
}

Loading…
Cancel
Save