Patching more tests to use new MusicRequests interface

This commit is contained in:
Nick Wallace 2021-08-09 17:08:56 -05:00
commit 36165bdce6

View file

@ -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)