From 78dafdf147b84753352c53193be80d56166c7ab7 Mon Sep 17 00:00:00 2001 From: Wesley Cabus Date: Tue, 5 Nov 2024 18:53:19 +0100 Subject: [PATCH] Fixed a typo --- src/JWTGuard/Tests/SignatureAlgorithmTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/JWTGuard/Tests/SignatureAlgorithmTests.cs b/src/JWTGuard/Tests/SignatureAlgorithmTests.cs index 69059a6..0fb24a0 100644 --- a/src/JWTGuard/Tests/SignatureAlgorithmTests.cs +++ b/src/JWTGuard/Tests/SignatureAlgorithmTests.cs @@ -34,7 +34,7 @@ internal async Task Accessing_AuthorizedUrl_Is_Authorized_For_Supported_Signatur } [Theory(DisplayName = "When a token uses an unsupported signature algorithm, the API should return a 401 Unauthorized response.")] - [MemberData(nameof(GetDisllowedAlgorithms))] + [MemberData(nameof(GetDisallowedAlgorithms))] internal async Task Accessing_AuthorizedUrl_Is_Unauthorized_For_Unsupported_Signature_Algorithms(string? signatureAlgorithm) { if (signatureAlgorithm is null) @@ -74,7 +74,7 @@ private Task GetJwtAsync(string signatureAlgorithm) /// /// Retrieves the disallowed signature algorithms for our test theories. /// - public static TheoryData GetDisllowedAlgorithms() + public static TheoryData GetDisallowedAlgorithms() { return TestSettings.CurrentTestSettings.DisallowedAlgorithms.Count == 0 ? new TheoryData([null])