Fixed tests

pull/982/head
Jamie.Rees 8 years ago
parent 1c6e75a413
commit 9121af0042

@ -79,6 +79,7 @@ namespace Ombi.UI.Tests
It.IsAny<bool>(),
It.IsAny<string>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int[]>(),
It.IsAny<string>(),
It.IsAny<Uri>(),
@ -99,6 +100,7 @@ namespace Ombi.UI.Tests
It.IsAny<bool>(),
It.IsAny<string>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int[]>(),
It.IsAny<string>(),
It.IsAny<Uri>(),
@ -128,7 +130,7 @@ namespace Ombi.UI.Tests
var model = F.Build<RequestedModel>().With(x => x.ProviderId, 1)
.With(x => x.Episodes, episodes).Create();
var result = await Sender.SendToSonarr(GetSonarrSettings(), model, "2");
var result = await Sender.SendToSonarr(GetSonarrSettings(), model, "2", string.Empty);
Assert.That(result, Is.EqualTo(seriesResult));
SonarrMock.Verify(x => x.AddSeries(It.IsAny<int>(),
@ -137,6 +139,7 @@ namespace Ombi.UI.Tests
It.IsAny<bool>(),
It.IsAny<string>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int[]>(),
It.IsAny<string>(),
It.IsAny<Uri>(),

Loading…
Cancel
Save