mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 22:03:15 -07:00
Patching more tests to use new MusicRequests interface
This commit is contained in:
parent
ddb58fb8a5
commit
36165bdce6
1 changed files with 2 additions and 2 deletions
|
@ -163,7 +163,7 @@ namespace Ombi.Notifications.Tests
|
||||||
public void MusicNotificationTests()
|
public void MusicNotificationTests()
|
||||||
{
|
{
|
||||||
var notificationOptions = new NotificationOptions();
|
var notificationOptions = new NotificationOptions();
|
||||||
var req = F.Build<AlbumRequest>()
|
var req = F.Build<MusicRequests>()
|
||||||
.With(x => x.RequestType, RequestType.Album)
|
.With(x => x.RequestType, RequestType.Album)
|
||||||
.With(x => x.Available, true)
|
.With(x => x.Available, true)
|
||||||
.Create();
|
.Create();
|
||||||
|
@ -198,7 +198,7 @@ namespace Ombi.Notifications.Tests
|
||||||
public string MusicNotificationTests_RequestStatus(bool available, bool denied, bool approved)
|
public string MusicNotificationTests_RequestStatus(bool available, bool denied, bool approved)
|
||||||
{
|
{
|
||||||
var notificationOptions = new NotificationOptions();
|
var notificationOptions = new NotificationOptions();
|
||||||
var req = F.Build<AlbumRequest>()
|
var req = F.Build<MusicRequests>()
|
||||||
.With(x => x.RequestType, RequestType.Album)
|
.With(x => x.RequestType, RequestType.Album)
|
||||||
.With(x => x.Available, available)
|
.With(x => x.Available, available)
|
||||||
.With(x => x.Denied, denied)
|
.With(x => x.Denied, denied)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue