1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-26 22:46:53 -04:00

Rename instances of Profile to QualityProfile

Closes #9337
This commit is contained in:
Bogdan
2023-11-01 12:28:14 +02:00
parent da41cb8840
commit 60d2df043b
9 changed files with 36 additions and 36 deletions
@@ -46,7 +46,7 @@ namespace NzbDrone.Integration.Test
public LogsClient Logs;
public ClientBase<NamingConfigResource> NamingConfig;
public NotificationClient Notifications;
public ClientBase<QualityProfileResource> Profiles;
public ClientBase<QualityProfileResource> QualityProfiles;
public ReleaseClient Releases;
public ClientBase<RootFolderResource> RootFolders;
public MovieClient Movies;
@@ -108,7 +108,7 @@ namespace NzbDrone.Integration.Test
Logs = new LogsClient(RestClient, ApiKey);
NamingConfig = new ClientBase<NamingConfigResource>(RestClient, ApiKey, "config/naming");
Notifications = new NotificationClient(RestClient, ApiKey);
Profiles = new ClientBase<QualityProfileResource>(RestClient, ApiKey);
QualityProfiles = new ClientBase<QualityProfileResource>(RestClient, ApiKey);
Releases = new ReleaseClient(RestClient, ApiKey);
RootFolders = new ClientBase<RootFolderResource>(RestClient, ApiKey);
Movies = new MovieClient(RestClient, ApiKey);
@@ -303,10 +303,10 @@ namespace NzbDrone.Integration.Test
return result.MovieFile;
}
public QualityProfileResource EnsureProfileCutoff(int profileId, Quality cutoff, bool upgradeAllowed)
public QualityProfileResource EnsureQualityProfileCutoff(int profileId, Quality cutoff, bool upgradeAllowed)
{
var needsUpdate = false;
var profile = Profiles.Get(profileId);
var profile = QualityProfiles.Get(profileId);
if (profile.Cutoff != cutoff.Id)
{
@@ -322,7 +322,7 @@ namespace NzbDrone.Integration.Test
if (needsUpdate)
{
profile = Profiles.Put(profile);
profile = QualityProfiles.Put(profile);
}
return profile;