Prepare for Spring Security 6.1

This commit is contained in:
Marcus Da Coregio
2022-11-28 15:47:10 -03:00
parent c2c0b0b710
commit e6173f9e5b
8 changed files with 5172 additions and 72 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2021 the original author or authors.
* Copyright 2002-2022 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.
@@ -65,7 +65,7 @@ public class XsdDocumentedTests {
String schema31xDocumentLocation = "org/springframework/security/config/spring-security-3.1.xsd";
String schemaDocumentLocation = "org/springframework/security/config/spring-security-6.0.xsd";
String schemaDocumentLocation = "org/springframework/security/config/spring-security-6.1.xsd";
XmlSupport xml = new XmlSupport();
@@ -150,8 +150,8 @@ public class XsdDocumentedTests {
.getParentFile()
.list((dir, name) -> name.endsWith(".xsd"));
// @formatter:on
assertThat(schemas.length).isEqualTo(21)
.withFailMessage("the count is equal to 21, if not then schemaDocument needs updating");
assertThat(schemas.length)
.withFailMessage("the count is equal to 22, if not then schemaDocument needs updating").isEqualTo(22);
}
/**