diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-06-09 14:29:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-09 14:29:52 +0900 |
| commit | b3f8928fbb9cada0eb58b9f3cf29a87ba57cd205 (patch) | |
| tree | 2a0304b9c579198f150227fba6e2d86203ceaff4 /tests | |
| parent | 26f937c36966f9f1636c552292c3affeb8a8082d (diff) | |
| parent | 6be862545ae76eb454b91601f08745e7b46dcd28 (diff) | |
Merge pull request #3218 from crobibero/api-cors
Enable CORS and Authentation
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs | 4 |
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] |
