From c855453e40c7bef714a0a713311cc4bb208527db Mon Sep 17 00:00:00 2001 From: Max Batischev Date: Fri, 25 Apr 2025 17:00:30 +0300 Subject: [PATCH] Fix Typo In SubjectDnX509PrincipalExtractorTests Signed-off-by: Max Batischev --- .../preauth/x509/SubjectDnX509PrincipalExtractorTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/test/java/org/springframework/security/web/authentication/preauth/x509/SubjectDnX509PrincipalExtractorTests.java b/web/src/test/java/org/springframework/security/web/authentication/preauth/x509/SubjectDnX509PrincipalExtractorTests.java index a86b41e0bc..73e179d5c9 100644 --- a/web/src/test/java/org/springframework/security/web/authentication/preauth/x509/SubjectDnX509PrincipalExtractorTests.java +++ b/web/src/test/java/org/springframework/security/web/authentication/preauth/x509/SubjectDnX509PrincipalExtractorTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,7 +49,7 @@ public class SubjectDnX509PrincipalExtractorTests { } @Test - public void defaultCNPatternReturnsExcpectedPrincipal() throws Exception { + public void defaultCNPatternReturnsExpectedPrincipal() throws Exception { Object principal = this.extractor.extractPrincipal(X509TestUtils.buildTestCertificate()); assertThat(principal).isEqualTo("Luke Taylor"); }