mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
New: Readarr 0.1
This commit is contained in:
@@ -25,7 +25,7 @@ namespace NzbDrone.Core.Test.UpdateTests
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Platform(Exclude = "NetCore")]
|
||||
[Ignore("Ignore until we actually release something on nightly")]
|
||||
public void finds_update_when_version_lower()
|
||||
{
|
||||
UseRealHttp();
|
||||
@@ -41,6 +41,7 @@ namespace NzbDrone.Core.Test.UpdateTests
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Ignore("Until merge readarr 0.1 pr")]
|
||||
public void should_get_recent_updates()
|
||||
{
|
||||
const string branch = "nightly";
|
||||
|
||||
@@ -124,7 +124,7 @@ namespace NzbDrone.Core.Test.UpdateTests
|
||||
|
||||
Subject.Execute(new ApplicationUpdateCommand());
|
||||
|
||||
Mocker.GetMock<IHttpClient>().Verify(c => c.DownloadFile(_updatePackage.Url, updateArchive));
|
||||
Mocker.GetMock<IHttpClient>().Verify(c => c.DownloadFile(_updatePackage.Url, updateArchive, null));
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -238,6 +238,7 @@ namespace NzbDrone.Core.Test.UpdateTests
|
||||
|
||||
[Test]
|
||||
[IntegrationTest]
|
||||
[Ignore("Until release published")]
|
||||
public void Should_download_and_extract_to_temp_folder()
|
||||
{
|
||||
UseRealHttp();
|
||||
@@ -289,7 +290,7 @@ namespace NzbDrone.Core.Test.UpdateTests
|
||||
|
||||
Assert.Throws<CommandFailedException>(() => Subject.Execute(new ApplicationUpdateCommand()));
|
||||
|
||||
Mocker.GetMock<IHttpClient>().Verify(c => c.DownloadFile(_updatePackage.Url, updateArchive), Times.Never());
|
||||
Mocker.GetMock<IHttpClient>().Verify(c => c.DownloadFile(_updatePackage.Url, updateArchive, null), Times.Never());
|
||||
ExceptionVerification.ExpectedErrors(1);
|
||||
}
|
||||
|
||||
@@ -304,7 +305,7 @@ namespace NzbDrone.Core.Test.UpdateTests
|
||||
|
||||
Assert.Throws<CommandFailedException>(() => Subject.Execute(new ApplicationUpdateCommand()));
|
||||
|
||||
Mocker.GetMock<IHttpClient>().Verify(c => c.DownloadFile(_updatePackage.Url, updateArchive), Times.Never());
|
||||
Mocker.GetMock<IHttpClient>().Verify(c => c.DownloadFile(_updatePackage.Url, updateArchive, null), Times.Never());
|
||||
ExceptionVerification.ExpectedErrors(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user