mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-31 12:00:06 -07:00
test: fixed unit tests
This commit is contained in:
parent
dcfd688c8d
commit
a3046e386c
2 changed files with 5 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue