mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
test(request-limits): ✅ Fixed unit tests
This commit is contained in:
parent
52d236a4f4
commit
46e2fafc46
4 changed files with 43 additions and 33 deletions
|
@ -370,7 +370,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