mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
Fix tests
This commit is contained in:
@@ -88,7 +88,9 @@ namespace Jellyfin.Api.Tests.Auth
|
|||||||
var authenticateResult = await _sut.AuthenticateAsync();
|
var authenticateResult = await _sut.AuthenticateAsync();
|
||||||
|
|
||||||
Assert.False(authenticateResult.Succeeded);
|
Assert.False(authenticateResult.Succeeded);
|
||||||
Assert.Equal("Invalid user", authenticateResult.Failure.Message);
|
Assert.True(authenticateResult.None);
|
||||||
|
// TODO return when legacy API is removed.
|
||||||
|
// Assert.Equal("Invalid user", authenticateResult.Failure.Message);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
|||||||
Reference in New Issue
Block a user