test: fixed unit tests

This commit is contained in:
tidusjar 2022-03-01 09:17:11 +00:00
parent dcfd688c8d
commit a3046e386c
2 changed files with 5 additions and 4 deletions

View file

@ -514,7 +514,7 @@ namespace Ombi.Core.Tests.Engine
var repoMock = _mocker.GetMock<IRepository<RequestLog>>();
repoMock.Setup(x => x.GetAll()).Returns(log.AsQueryable().BuildMock().Object);
var result = await _subject.GetRemainingMusicRequests(user);
var result = await _subject.GetRemainingMusicRequests(user, today);
Assert.That(result, Is.InstanceOf<RequestQuotaCountModel>()
.With.Property(nameof(RequestQuotaCountModel.HasLimit)).EqualTo(true)