aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-12 14:35:51 -0600
committercrobibero <cody@robibe.ro>2020-06-12 14:35:51 -0600
commit2fe65d99f6886d607d618903ac03f7474ce68df0 (patch)
tree681efab6ef8fdbffc8b8ddb3e09bc811c733a10d /tests
parentdfe873fc293cf940a4f3d25aacdc8dfc53f150dc (diff)
parent6429e60c408c0b88edee6745c5c9c14faade3c9d (diff)
Merge remote-tracking branch 'upstream/api-migration' into api-swagger-auth
Diffstat (limited to 'tests')
-rw-r--r--tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs b/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs
index 3b3d03c8b..437dfa410 100644
--- a/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs
+++ b/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs
@@ -88,7 +88,9 @@ namespace Jellyfin.Api.Tests.Auth
var authenticateResult = await _sut.AuthenticateAsync();
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]