Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/2caba01123d7585817c32b190365d2f85d7e8366 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fix tests for nested artist folders

pull/5143/head v2.6.3.4389
Bogdan 6 months ago
parent 4588bc4a7e
commit 2caba01123

@ -14,6 +14,7 @@ using NzbDrone.Core.Messaging.Events;
using NzbDrone.Core.Music;
using NzbDrone.Core.Organizer;
using NzbDrone.Core.Parser.Model;
using NzbDrone.Core.RootFolders;
using NzbDrone.Core.Test.Framework;
using NzbDrone.Test.Common;
@ -48,6 +49,11 @@ namespace NzbDrone.Core.Test.MediaFiles.TrackFileMovingServiceTests
.Returns(@"C:\Test\Music\Artist\Album\File Name.mp3".AsOsAgnostic());
var rootFolder = @"C:\Test\Music\".AsOsAgnostic();
Mocker.GetMock<IRootFolderService>()
.Setup(s => s.GetBestRootFolder(It.IsAny<string>()))
.Returns(new RootFolder { Path = rootFolder });
Mocker.GetMock<IDiskProvider>()
.Setup(s => s.FolderExists(rootFolder))
.Returns(true);

Loading…
Cancel
Save