mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #14635] Fixed unit tests for UserManager #14054
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/14635
Author: @iig1988
Created: 8/12/2025
Status: 🔄 Open
Base:
master← Head:fix-test📝 Commits (1)
b73fef4Fixed unit tests for UserManager📊 Changes
7 files changed (+76 additions, -31 deletions)
View changed files
📝
Jellyfin.Api/Controllers/StartupController.cs(+5 -2)📝
Jellyfin.Server.Implementations/Users/UserManager.cs(+7 -20)➕
Jellyfin.Server.Implementations/Users/UserValidation.cs(+35 -0)📝
Jellyfin.Server/CoreAppHost.cs(+1 -0)📝
MediaBrowser.Controller/Library/IUserManager.cs(+0 -6)➕
MediaBrowser.Controller/Library/IUserValidation.cs(+21 -0)📝
tests/Jellyfin.Server.Implementations.Tests/Users/UserValidationTests.cs(+7 -3)📄 Description
Hi!
I've updated the tests for UserManager. Specifically, I've moved the username validation to a separate UserValidation class.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.