mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Fixed: Parsing Transmission version for nightly builds
This commit is contained in:
committed by
Taloth Saldono
parent
17f10c9ee5
commit
d9cc0d4600
+13
@@ -346,5 +346,18 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.TransmissionTests
|
||||
items.Should().HaveCount(1);
|
||||
items.First().OutputPath.Should().Be(@"C:\Downloads\Finished\transmission\" + _title);
|
||||
}
|
||||
|
||||
[TestCase("2.84 ()")]
|
||||
[TestCase("2.84+ ()")]
|
||||
[TestCase("2.84 (other info)")]
|
||||
[TestCase("2.84 (2.84)")]
|
||||
public void should_version_should_only_check_version_number(String version)
|
||||
{
|
||||
Mocker.GetMock<ITransmissionProxy>()
|
||||
.Setup(s => s.GetVersion(It.IsAny<TransmissionSettings>()))
|
||||
.Returns(version);
|
||||
|
||||
Subject.Test();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user