aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-04-09 01:04:49 +0200
committerBond_009 <bond.009@outlook.com>2021-04-09 01:04:49 +0200
commit391554d391c1a045a0922fd5f0b43459afdfc550 (patch)
tree4f615e4c79188be30c071b8351c7a96b32221e40 /tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs
parenta19a97ca4225a57c3cce71cdd0b9dd4a08f65993 (diff)
Add tests for UserController
Diffstat (limited to 'tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs')
-rw-r--r--tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs b/tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs
index 4b8fac07f..ea6838682 100644
--- a/tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs
+++ b/tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs
@@ -44,7 +44,7 @@ namespace Jellyfin.Server.Integration.Tests
return auth!.AccessToken;
}
- public static void AddAuthHeader(this HttpRequestHeaders headers, string accessToken)
+ public static void AddAuthHeader(this HttpHeaders headers, string accessToken)
{
headers.Add(AuthHeaderName, DummyAuthHeader + $", Token={accessToken}");
}