mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-01 06:18:16 +00:00
Fixed: Failing update test on Linux
This commit is contained in:
@@ -265,7 +265,7 @@ namespace NzbDrone.Core.Test.UpdateTests
|
||||
public void should_log_error_when_app_data_is_child_of_startup_folder()
|
||||
{
|
||||
Mocker.GetMock<IAppFolderInfo>().SetupGet(c => c.StartUpFolder).Returns(@"C:\Lidarr".AsOsAgnostic);
|
||||
Mocker.GetMock<IAppFolderInfo>().SetupGet(c => c.AppDataFolder).Returns(@"C:\LIdarr\AppData".AsOsAgnostic);
|
||||
Mocker.GetMock<IAppFolderInfo>().SetupGet(c => c.AppDataFolder).Returns(@"C:\Lidarr\AppData".AsOsAgnostic);
|
||||
|
||||
Assert.Throws<CommandFailedException>(() => Subject.Execute(new ApplicationUpdateCommand()));
|
||||
ExceptionVerification.ExpectedErrors(1);
|
||||
|
||||
Reference in New Issue
Block a user