From 2c0d272c5412e2420482c1e7c5cf6e25a4e5195c Mon Sep 17 00:00:00 2001 From: ta264 Date: Tue, 9 Jul 2019 21:46:10 +0100 Subject: [PATCH] Fixed: Removed failing test no longer in Sonarr As far as I can tell you wouldn't expect this to pass. Setting the path is handled by AddArtistService, not ArtistService. This file is present in the Sonarr tree but not included in the project. --- .../ArtistServiceTests/AddArtistFixture.cs | 40 ------------------- .../NzbDrone.Core.Test.csproj | 1 - 2 files changed, 41 deletions(-) delete mode 100644 src/NzbDrone.Core.Test/MusicTests/ArtistServiceTests/AddArtistFixture.cs diff --git a/src/NzbDrone.Core.Test/MusicTests/ArtistServiceTests/AddArtistFixture.cs b/src/NzbDrone.Core.Test/MusicTests/ArtistServiceTests/AddArtistFixture.cs deleted file mode 100644 index 57338ebce..000000000 --- a/src/NzbDrone.Core.Test/MusicTests/ArtistServiceTests/AddArtistFixture.cs +++ /dev/null @@ -1,40 +0,0 @@ -using FizzWare.NBuilder; -using FluentAssertions; -using NUnit.Framework; -using NzbDrone.Core.Organizer; -using NzbDrone.Core.Music; -using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.Music.Events; - -namespace NzbDrone.Core.Test.MusicTests.ArtistServiceTests -{ - [TestFixture] - public class AddArtistFixture : CoreTest - { - private Artist _fakeArtist; - - [SetUp] - public void Setup() - { - _fakeArtist = Builder.CreateNew().Build(); - } - - [Test] - public void artist_added_event_should_have_proper_path() - { - _fakeArtist.Path = null; - _fakeArtist.RootFolderPath = @"C:\Test\Music"; - - Mocker.GetMock() - .Setup(s => s.GetArtistFolder(_fakeArtist, null)) - .Returns(_fakeArtist.Name); - - var artist = Subject.AddArtist(_fakeArtist); - - artist.Path.Should().NotBeNull(); - - VerifyEventPublished(); - } - - } -} diff --git a/src/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj b/src/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj index dce180c61..1fb26f1f3 100644 --- a/src/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj +++ b/src/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj @@ -277,7 +277,6 @@ -