Polish tests for configuration constants

See gh-30851
This commit is contained in:
Sam Brannen
2023-07-31 15:11:35 +03:00
parent 48eb477755
commit 0eda44186a
6 changed files with 47 additions and 22 deletions

View File

@@ -179,7 +179,7 @@ class CustomizableTraceInterceptorTests {
@Test
@SuppressWarnings("deprecation")
void supportedPlaceholderValues() {
assertThat(ALLOWED_PLACEHOLDERS).containsAll(getPlaceholderConstantValues());
assertThat(ALLOWED_PLACEHOLDERS).containsExactlyInAnyOrderElementsOf(getPlaceholderConstantValues());
}
private List<String> getPlaceholderConstantValues() {