Fixed: Prevent NullRef in NewznabRequestGenerator for missing definition

This commit is contained in:
Bogdan
2023-10-12 06:50:13 +03:00
parent b1f7d30021
commit 7e32b54547
4 changed files with 9 additions and 1 deletions
@@ -19,6 +19,11 @@ namespace NzbDrone.Core.Test.IndexerTests.NewznabTests
[SetUp]
public void SetUp()
{
Subject.Definition = new IndexerDefinition
{
Name = "Newznab"
};
Subject.Settings = new NewznabSettings()
{
BaseUrl = "http://127.0.0.1:1234/",