1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-19 21:46:43 -04:00

Ensure tests that log warnings don't fail

This commit is contained in:
Touchstone64
2025-12-01 10:58:04 +00:00
committed by Mark McDowall
parent aee6158ec5
commit 4e52b3c93e
2 changed files with 9 additions and 0 deletions
@@ -7,6 +7,7 @@ using NUnit.Framework;
using NzbDrone.Core.Download;
using NzbDrone.Core.Download.Clients.RQBit;
using NzbDrone.Core.MediaFiles.TorrentInfo;
using NzbDrone.Test.Common;
namespace NzbDrone.Core.Test.Download.DownloadClientTests.RQBitTests
{
@@ -212,6 +213,8 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.RQBitTests
items.Should().HaveCount(1);
items.First().Title.Should().Be("Test2");
ExceptionVerification.ExpectedWarns(1);
}
[Test]
@@ -229,6 +232,8 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.RQBitTests
items.Should().HaveCount(1);
items.First().Title.Should().Be("Test2");
ExceptionVerification.ExpectedWarns(1);
}
}
}