mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-15 01:32:55 -07:00
Some unit tests for the issues
This commit is contained in:
parent
9450127893
commit
14ca513555
3 changed files with 152 additions and 0 deletions
|
@ -317,6 +317,8 @@ namespace PlexRequests.UI.Modules
|
|||
/// Filters the issues. Checks to see if we have set <c>UsersCanViewOnlyOwnIssues</c> in the database and filters upon the user logged in and that setting.
|
||||
/// </summary>
|
||||
/// <param name="issues">The issues.</param>
|
||||
/// <param name="showResolved">if set to <c>true</c> [show resolved].</param>
|
||||
/// <returns></returns>
|
||||
private async Task<IEnumerable<IssuesModel>> FilterIssuesAsync(IEnumerable<IssuesModel> issues, bool showResolved = false)
|
||||
{
|
||||
var settings = await PlexRequestSettings.GetSettingsAsync();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue