From 5fef2466103a037bf6335baae12d06b47fabfb82 Mon Sep 17 00:00:00 2001 From: Jamie Date: Wed, 20 Dec 2017 14:45:15 +0000 Subject: [PATCH] Fixed a launch issue --- .../Rule/Search/PlexAvailabilityRuleTests.cs | 9 +++++++-- .../Settings/Models/AuthenticationSettings.cs | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Ombi.Core.Tests/Rule/Search/PlexAvailabilityRuleTests.cs b/src/Ombi.Core.Tests/Rule/Search/PlexAvailabilityRuleTests.cs index ff80505bb..55177a6ac 100644 --- a/src/Ombi.Core.Tests/Rule/Search/PlexAvailabilityRuleTests.cs +++ b/src/Ombi.Core.Tests/Rule/Search/PlexAvailabilityRuleTests.cs @@ -25,9 +25,14 @@ namespace Ombi.Core.Tests.Rule.Search { ContextMock.Setup(x => x.Get(It.IsAny())).ReturnsAsync(new PlexServerContent { - Url = "TestUrl" + Url = "TestUrl", + ImdbId = "132" }); - var search = new SearchMovieViewModel(); + + var search = new SearchMovieViewModel + { + ImdbId = "123", + }; var result = await Rule.Execute(search); Assert.True(result.Success); diff --git a/src/Ombi.Settings/Settings/Models/AuthenticationSettings.cs b/src/Ombi.Settings/Settings/Models/AuthenticationSettings.cs index b187e1b95..9ce5c72ac 100644 --- a/src/Ombi.Settings/Settings/Models/AuthenticationSettings.cs +++ b/src/Ombi.Settings/Settings/Models/AuthenticationSettings.cs @@ -2,7 +2,7 @@ namespace Ombi.Settings.Settings.Models { - public class AuthenticationSettings + public class AuthenticationSettings : Settings { public bool AllowNoPassword { get; set; }