mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
Fixed a launch issue
This commit is contained in:
parent
d5787e6625
commit
5fef246610
2 changed files with 8 additions and 3 deletions
|
@ -25,9 +25,14 @@ namespace Ombi.Core.Tests.Rule.Search
|
||||||
{
|
{
|
||||||
ContextMock.Setup(x => x.Get(It.IsAny<string>())).ReturnsAsync(new PlexServerContent
|
ContextMock.Setup(x => x.Get(It.IsAny<string>())).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);
|
var result = await Rule.Execute(search);
|
||||||
|
|
||||||
Assert.True(result.Success);
|
Assert.True(result.Success);
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace Ombi.Settings.Settings.Models
|
namespace Ombi.Settings.Settings.Models
|
||||||
{
|
{
|
||||||
public class AuthenticationSettings
|
public class AuthenticationSettings : Settings
|
||||||
{
|
{
|
||||||
public bool AllowNoPassword { get; set; }
|
public bool AllowNoPassword { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue