mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
Method, Variable, Class Renames in Readarr.Core
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
@@ -2,9 +2,9 @@ using System.Linq;
|
||||
using FizzWare.NBuilder;
|
||||
using Moq;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Core.Books;
|
||||
using NzbDrone.Core.ImportLists;
|
||||
using NzbDrone.Core.Lifecycle;
|
||||
using NzbDrone.Core.Music;
|
||||
using NzbDrone.Core.Profiles.Qualities;
|
||||
using NzbDrone.Core.RootFolders;
|
||||
using NzbDrone.Core.Test.Framework;
|
||||
@@ -62,7 +62,7 @@ namespace NzbDrone.Core.Test.Profiles
|
||||
.With(f => f.DefaultQualityProfileId = 1)
|
||||
.BuildList();
|
||||
|
||||
Mocker.GetMock<IArtistService>().Setup(c => c.GetAllArtists()).Returns(artistList);
|
||||
Mocker.GetMock<IAuthorService>().Setup(c => c.GetAllAuthors()).Returns(artistList);
|
||||
Mocker.GetMock<IImportListFactory>().Setup(c => c.All()).Returns(importLists);
|
||||
Mocker.GetMock<IRootFolderService>().Setup(c => c.All()).Returns(rootFolders);
|
||||
Mocker.GetMock<IProfileRepository>().Setup(c => c.Get(profile.Id)).Returns(profile);
|
||||
@@ -94,7 +94,7 @@ namespace NzbDrone.Core.Test.Profiles
|
||||
.With(f => f.DefaultQualityProfileId = 1)
|
||||
.BuildList();
|
||||
|
||||
Mocker.GetMock<IArtistService>().Setup(c => c.GetAllArtists()).Returns(artistList);
|
||||
Mocker.GetMock<IAuthorService>().Setup(c => c.GetAllAuthors()).Returns(artistList);
|
||||
Mocker.GetMock<IImportListFactory>().Setup(c => c.All()).Returns(importLists);
|
||||
Mocker.GetMock<IRootFolderService>().Setup(c => c.All()).Returns(rootFolders);
|
||||
Mocker.GetMock<IProfileRepository>().Setup(c => c.Get(profile.Id)).Returns(profile);
|
||||
@@ -126,7 +126,7 @@ namespace NzbDrone.Core.Test.Profiles
|
||||
.With(f => f.DefaultQualityProfileId = profile.Id)
|
||||
.BuildList();
|
||||
|
||||
Mocker.GetMock<IArtistService>().Setup(c => c.GetAllArtists()).Returns(artistList);
|
||||
Mocker.GetMock<IAuthorService>().Setup(c => c.GetAllAuthors()).Returns(artistList);
|
||||
Mocker.GetMock<IImportListFactory>().Setup(c => c.All()).Returns(importLists);
|
||||
Mocker.GetMock<IRootFolderService>().Setup(c => c.All()).Returns(rootFolders);
|
||||
Mocker.GetMock<IProfileRepository>().Setup(c => c.Get(profile.Id)).Returns(profile);
|
||||
@@ -154,7 +154,7 @@ namespace NzbDrone.Core.Test.Profiles
|
||||
.With(f => f.DefaultQualityProfileId = 2)
|
||||
.BuildList();
|
||||
|
||||
Mocker.GetMock<IArtistService>().Setup(c => c.GetAllArtists()).Returns(artistList);
|
||||
Mocker.GetMock<IAuthorService>().Setup(c => c.GetAllAuthors()).Returns(artistList);
|
||||
Mocker.GetMock<IImportListFactory>().Setup(c => c.All()).Returns(importLists);
|
||||
Mocker.GetMock<IRootFolderService>().Setup(c => c.All()).Returns(rootFolders);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user