mirror of https://github.com/Sonarr/Sonarr
Pushing broken test to test teamcity
This commit is contained in:
parent
88b8c053fc
commit
39c8462769
|
@ -17,6 +17,12 @@ namespace NzbDrone.Core.Test
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class BacklogSearchJobTest
|
public class BacklogSearchJobTest
|
||||||
{
|
{
|
||||||
|
[Test]
|
||||||
|
public void broken_test()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void no_missing_epsiodes_should_not_trigger_any_search()
|
public void no_missing_epsiodes_should_not_trigger_any_search()
|
||||||
{
|
{
|
||||||
|
@ -116,7 +122,7 @@ namespace NzbDrone.Core.Test
|
||||||
.Setup(s => s.Start(notification, It.IsAny<int>(), 0)).Verifiable();
|
.Setup(s => s.Start(notification, It.IsAny<int>(), 0)).Verifiable();
|
||||||
|
|
||||||
mocker.GetMock<EpisodeProvider>()
|
mocker.GetMock<EpisodeProvider>()
|
||||||
.Setup(s => s.GetEpisodeNumbersBySeason(1, 1)).Returns(new List<int> {1, 2, 3, 4, 5, 6, 7, 8, 9, 10});
|
.Setup(s => s.GetEpisodeNumbersBySeason(1, 1)).Returns(new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 });
|
||||||
|
|
||||||
//Act
|
//Act
|
||||||
mocker.Resolve<BacklogSearchJob>().Start(notification, 0, 0);
|
mocker.Resolve<BacklogSearchJob>().Start(notification, 0, 0);
|
||||||
|
@ -187,7 +193,7 @@ namespace NzbDrone.Core.Test
|
||||||
.Setup(s => s.Start(notification, It.IsAny<int>(), 0)).Verifiable();
|
.Setup(s => s.Start(notification, It.IsAny<int>(), 0)).Verifiable();
|
||||||
|
|
||||||
mocker.GetMock<EpisodeProvider>()
|
mocker.GetMock<EpisodeProvider>()
|
||||||
.Setup(s => s.GetEpisodeNumbersBySeason(1, 1)).Returns(new List<int>{ 1, 2, 3, 4, 5 });
|
.Setup(s => s.GetEpisodeNumbersBySeason(1, 1)).Returns(new List<int> { 1, 2, 3, 4, 5 });
|
||||||
|
|
||||||
//Act
|
//Act
|
||||||
mocker.Resolve<BacklogSearchJob>().Start(notification, 0, 0);
|
mocker.Resolve<BacklogSearchJob>().Start(notification, 0, 0);
|
||||||
|
|
Loading…
Reference in New Issue